SyncDataColumnCollection::Item Property
Gets or sets a column name in the collection at the specified index.
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::StringThe name of the column at the specified index in the collection; otherwise a null value if the column does not exist.
| Exception | Condition |
|---|---|
| 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: