SyncTableCollection.Item Property (String)

Gets a SyncTable object with the specified name from the collection.

Namespace:  Microsoft.Synchronization.Data
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    tableName As String _
) As SyncTable
    Get
'Usage
Dim instance As SyncTableCollection
Dim tableName As String
Dim value As SyncTable

value = instance(tableName)
public SyncTable this[
    string tableName
] { get; }
public:
property SyncTable^ default[String^ tableName] {
    SyncTable^ get (String^ tableName);
}
member Item : SyncTable
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.Synchronization.Data.SyncTable
A SyncTable object for the specified table.

Exceptions

Exception Condition
ArgumentNullException

item is a null reference (Nothing in Visual Basic).

ArgumentException

item is not in this SyncTableCollection object.

See Also

Reference

SyncTableCollection Class

Item Overload

Microsoft.Synchronization.Data Namespace