Share via


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

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

See Also

Reference

SyncSchemaColumns Class

Item Overload

Microsoft.Synchronization.Data Namespace