SyncSchemaTable.Item Property
Gets the SyncSchemaColumn object that has the specified name from the SyncSchemaColumns collection.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
columnName As String _
) As SyncSchemaColumn
Get
'Usage
Dim instance As SyncSchemaTable
Dim columnName As String
Dim value As SyncSchemaColumn
value = instance(columnName)
public SyncSchemaColumn this[
string columnName
] { get; }
public:
property SyncSchemaColumn^ default[String^ columnName] {
SyncSchemaColumn^ get (String^ columnName);
}
member Item : SyncSchemaColumn
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- columnName
Type: System.String
The name of the column to get from the SyncSchemaColumns collection.
Property Value
Type: Microsoft.Synchronization.Data.SyncSchemaColumn
A SyncSchemaColumn object that has the specified name.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | columnName is a null reference (Nothing in Visual Basic). |