Share via


DbSyncColumnDescriptionCollection.Item Property (String)

Gets a DbSyncColumnDescription 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 ( _
    columnName As String _
) As DbSyncColumnDescription
    Get
'Usage
Dim instance As DbSyncColumnDescriptionCollection
Dim columnName As String
Dim value As DbSyncColumnDescription

value = instance(columnName)
public DbSyncColumnDescription this[
    string columnName
] { get; }
public:
property DbSyncColumnDescription^ default[String^ columnName] {
    DbSyncColumnDescription^ get (String^ columnName);
}
member Item : DbSyncColumnDescription
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 add to the collection.

Property Value

Type: Microsoft.Synchronization.Data.DbSyncColumnDescription
A DbSyncColumnDescription object.

Exceptions

Exception Condition
ArgumentNullException

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

ArgumentException

columnName is empty.

See Also

Reference

DbSyncColumnDescriptionCollection Class

Item Overload

Microsoft.Synchronization.Data Namespace