SyncSchemaColumns.Contains Method
Determines whether a SyncSchemaColumn object with the specified name is in the collection.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Syntax
'Declaration
Public Function Contains ( _
columnName As String _
) As Boolean
'Usage
Dim instance As SyncSchemaColumns
Dim columnName As String
Dim returnValue As Boolean
returnValue = instance.Contains(columnName)
public bool Contains(
string columnName
)
public:
bool Contains(
String^ columnName
)
member Contains :
columnName:string -> bool
public function Contains(
columnName : String
) : boolean
Parameters
- columnName
Type: System.String
The name of the column. Specify the name to determine if it can be removed from the SyncSchemaColumn collection.
Return Value
Type: System.Boolean
true if the collection contains the specified column; otherwise, false.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | columnName is a null reference (Nothing in Visual Basic). |