SqlDataReader.GetSqlChars(Int32) 方法

定義

取得指定資料行的值做為 SqlCharsGets the value of the specified column as SqlChars.

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

參數

i
Int32

以零為基底的資料行序數。The zero-based column ordinal.

傳回

表示為 SqlChars 的資料行值。The value of the column expressed as a SqlChars.

適用於

另請參閱