SyncColumnMappingCollection::IndexOfClientColumn Method

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

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

public:
int IndexOfClientColumn(
	String^ clientColumn
)

Parameters

clientColumn
Type: System::String
The name of the column at the client for which to get the index in the SyncColumnMappingCollection.

Return Value

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