SqlDataRecord.FieldCount 属性

定义

获取数据行的列数。Gets the number of columns in the data row. 此属性是只读的。This property is read-only.

public:
 virtual property int FieldCount { int get(); };
public virtual int FieldCount { get; }
member this.FieldCount : int
Public Overridable ReadOnly Property FieldCount As Integer

属性值

数据行的列数,其形式为整数。The number of columns in the data row as an integer.

实现

适用于