SyncParameterCollection::IndexOf Method (String)

Searches for a SyncParameter object when given a parameter name, and returns the zero-based index of the first occurrence within the entire collection.

Namespace:  Microsoft.Synchronization.Data
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)

public:
int IndexOf(
	String^ parameterName
)

Parameters

parameterName
Type: System::String
The name of the parameter. Specify the name to determine the zero-based index of the SyncParameter in the SyncParameterCollection.

Return Value

Type: System::Int32
The index position of parameterName if that string is found; otherwise -1.
Show: