Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
指定源列在数据源内的顺序位置。
Public Property SourceOrdinal As Integer
public int SourceOrdinal {get;set;}
一个整数,指定列在数据源中的顺序号,未设置该属性时值为 -1。
SourceColumn 与 SourceOrdinal 属性相互排斥。最近设置的值优先。
设置 SourceColumn 属性会使 SourceOrdinal 属性被设置为 -1;设置 SourceOrdinal 属性会使 SourceColumn 属性被设置为空值引用(在 Visual Basic 中是 Nothing)。