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

Return Value

Type: System.Boolean
Returns true if an object of the name tableName exists; otherwise false.

See Also

Reference

SyncTableCollection Class

Contains Overload

Microsoft.Synchronization.Data Namespace