Share via


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)

Syntax

'Declaration
Public Function IndexOfClientColumn ( _
    clientColumn As String _
) As Integer
'Usage
Dim instance As SyncColumnMappingCollection
Dim clientColumn As String
Dim returnValue As Integer

returnValue = instance.IndexOfClientColumn(clientColumn)
public int IndexOfClientColumn (
    string clientColumn
)
public:
int IndexOfClientColumn (
    String^ clientColumn
)
public int IndexOfClientColumn (
    String clientColumn
)
public function IndexOfClientColumn (
    clientColumn : String
) : int

Parameters

Return Value

The index position of clientColumn if that string is found; otherwise -1 if it is not.

See Also

Reference

SyncColumnMappingCollection Class
SyncColumnMappingCollection Members
Microsoft.Synchronization.Data.Server Namespace