EntityDataReader.GetInt32(Int32) 方法

定义

获取指定列的 32 位带符号整数形式的值。Gets the value of the specified column as a 32-bit signed integer.

public:
 override int GetInt32(int ordinal);
public override int GetInt32 (int ordinal);
override this.GetInt32 : int -> int
Public Overrides Function GetInt32 (ordinal As Integer) As Integer

参数

ordinal
Int32

从零开始的列序号。The zero-based column ordinal.

返回

Int32

指定列的值。The value of the specified column.

实现

适用于