Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
返回游标中的列数。
Public ReadOnly Property ColumnCount As Short
public short ColumnCount {get;}
游标中的列数;如果游标模式已关闭,则为 0。
列 ID 的范围是从 0 到 ColumnCount-1(含 0 和 ColumnCount-1)。
列 ID 和计数在模式升级过程中可能会发生变化。为了正确地标识列,请按名称访问它,或者在模式升级后刷新高速缓存中的 ID 和计数。