DbSyncColumnMappingCollection.IndexOfLocalColumn Method
Searches for a DbSyncColumnMapping object when given a local column name, and returns the zero-based index of the first occurrence within the whole collection.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Syntax
'Declaration
Public Function IndexOfLocalColumn ( _
localColumn As String _
) As Integer
'Usage
Dim instance As DbSyncColumnMappingCollection
Dim localColumn As String
Dim returnValue As Integer
returnValue = instance.IndexOfLocalColumn(localColumn)
public int IndexOfLocalColumn(
string localColumn
)
public:
int IndexOfLocalColumn(
String^ localColumn
)
member IndexOfLocalColumn :
localColumn:string -> int
public function IndexOfLocalColumn(
localColumn : String
) : int
Parameters
- localColumn
Type: System.String
The name of the column in the local database.
Return Value
Type: System.Int32
The index position of localcolumn if that string is found; otherwise -1.