DbColumn.ColumnOrdinal Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.