Share via


DeploymentSyncParameterCollection.TryGetValue Method

Definition

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.

Applies to