SyncDataColumnCollection::Item Property

Gets or sets a column name in the collection at the specified index.

Namespace:  Microsoft.Synchronization.Data.Server
Assembly:  Microsoft.Synchronization.Data.Server (in Microsoft.Synchronization.Data.Server.dll)

public:
property String^ default[int index] {
	String^ get (int index);
	void set (int index, String^ value);
}

Parameters

index
Type: System::Int32
The zero-based index of the column name to return from the SyncDataColumnCollection.

Property Value

Type: System::String
The name of the column at the specified index in the collection; otherwise a null value if the column does not exist.

ExceptionCondition
ArgumentNullException

value is a nullptr.

ArgumentOutOfRangeException

index is less than zero or greater than or equal to the number of data columns in this SyncDataColumnCollection object.

Show: