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
)
member IndexOfClientColumn : 
        clientColumn:string -> int 
public function IndexOfClientColumn(
    clientColumn : String
) : int

Parameters

Return Value

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

See Also

Reference

SyncColumnMappingCollection Class

Microsoft.Synchronization.Data.Server Namespace