Udostępnij za pośrednictwem


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
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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements (Synchronization Services).

Target Platforms

See Also

Reference

SyncTableCollection Class
SyncTableCollection Members
Microsoft.Synchronization.Data Namespace