SqlDataReader.GetSqlBytes(Int32) 方法

定义

获取指定列的 SqlBytes 形式的值。Gets the value of the specified column as SqlBytes.

public:
 virtual System::Data::SqlTypes::SqlBytes ^ GetSqlBytes(int i);
public virtual System.Data.SqlTypes.SqlBytes GetSqlBytes (int i);
abstract member GetSqlBytes : int -> System.Data.SqlTypes.SqlBytes
override this.GetSqlBytes : int -> System.Data.SqlTypes.SqlBytes
Public Overridable Function GetSqlBytes (i As Integer) As SqlBytes

参数

i
Int32

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

返回

SqlBytes

表示为 SqlBytes 的列值。The value of the column expressed as a SqlBytes.

适用于