_Row.Item[Object] Property

Definition

Obtains an Object that represents the value for the Row object at the column specified by Index.

public:
 property System::Object ^ default[System::Object ^] { System::Object ^ get(System::Object ^ Index); };
public object this[object Index] { get; }
Default Public ReadOnly Property Item(Index As Object) As Object

Parameters

Index
Object

A 1-based index value that can be either an Integer (int in C#) value representing the column index for the Columns collection or a String (string in C#) representing the Name of the Column.

Property Value

An Object that represents the value of a property (as specified by Index) of an item (as specified by the parent Row).

Remarks

If a Column has been added to a Table using a property name referencing a namespace, you must reference the Column in the Row.Item property (this in C#) by the same namespace reference. If you use an explicit built-in name reference in Row.Item, you will get an error.

Applies to