DbColumn.ColumnOrdinal Property
Definition
Gets the column position (ordinal) in the datasource row; otherwise, null
if no value is set. Can be set to either an int32
value to specify the column position or null
when overridden in a derived class.
public: property Nullable<int> ColumnOrdinal { public:
Nullable<int> get(); protected:
void set(Nullable<int> value); };
public int? ColumnOrdinal { get; protected set; }
member this.ColumnOrdinal : Nullable<int> with get, set
Public Property ColumnOrdinal As Nullable(Of Integer)
Property Value
An int32
value for column ordinal; otherwise, a null reference (Nothing
in Visual Basic) if no value is set.