SyncSchemaColumns.Item Property (String)
Gets a SyncSchemaColumn object from the collection when given a column name.
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 SyncSchemaColumns
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 SyncSchemaColumn object to get from the SyncSchemaColumn collection.
Property Value
Type: Microsoft.Synchronization.Data.SyncSchemaColumn
The SyncSchemaColumn object in the collection with the specified name. Returns a null value if the column does not exist.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | columnName is a null reference (Nothing in Visual Basic). |