編輯

共用方式為


SqlDataReader.GetSqlBytes(Int32) Method

Definition

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

Parameters

i
Int32

The zero-based column ordinal.

Returns

The value of the column expressed as a SqlBytes.

Applies to

See also