SyncTableCollection.Contains Method (String)
Determines whether a SyncTable 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 ( _
tableName As String _
) As Boolean
'Usage
Dim instance As SyncTableCollection
Dim tableName As String
Dim returnValue As Boolean
returnValue = instance.Contains(tableName)
public bool Contains(
string tableName
)
public:
bool Contains(
String^ tableName
)
member Contains :
tableName:string -> bool
public function Contains(
tableName : String
) : boolean
Parameters
- tableName
Type: System.String
The name of the SyncTable object to find in the collection.
Return Value
Type: System.Boolean
Returns true if an object of the name tableName exists; otherwise false.