Sdílet prostřednictvím


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
)
public boolean Contains (
    String tableName
)
public function Contains (
    tableName : String
) : boolean

Parameters

  • tableName
    The name of the SyncTable object to find in the collection.

Return Value

Returns true if an object of the name tableName exists; otherwise false.

See Also

Reference

SyncTableCollection Class
SyncTableCollection Members
Microsoft.Synchronization.Data Namespace