SyncSchemaTables.Item Property (String)
Gets a SyncSchemaTable 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 ( _
name As String _
) As SyncSchemaTable
Get
'Usage
Dim instance As SyncSchemaTables
Dim name As String
Dim value As SyncSchemaTable
value = instance(name)
public SyncSchemaTable this[
string name
] { get; }
public:
property SyncSchemaTable^ default[String^ name] {
SyncSchemaTable^ get (String^ name);
}
member Item : SyncSchemaTable
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- name
Type: System.String
The name of the SyncSchemaTable object to return from the SyncSchemaTables collection.
Property Value
Type: Microsoft.Synchronization.Data.SyncSchemaTable
A SyncSchemaTable object with the specified name; otherwise a null reference if the object does not exist.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | name is a null reference (Nothing in Visual Basic). |