DeploymentSyncParameterCollection.TryGetValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attempts to find the DeploymentSyncParameter with the specified name in the current collection and returns a value indicating whether the operation was successful.
public:
bool TryGetValue(System::String ^ name, [Runtime::InteropServices::Out] Microsoft::Web::Deployment::DeploymentSyncParameter ^ % parameter);
public bool TryGetValue (string name, out Microsoft.Web.Deployment.DeploymentSyncParameter parameter);
member this.TryGetValue : string * -> bool
Public Function TryGetValue (name As String, ByRef parameter As DeploymentSyncParameter) As Boolean
Parameters
- name
- String
The name of the parameter to find in the current collection.
- parameter
- DeploymentSyncParameter
The returned parameter instance if one is found.
Returns
true
if a parameter with the specified name is found in the current collection, otherwise false
.