TraceReader.GetChars メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定された列位置から、バッファのオフセットから文字配列の値を取得します。
オーバーロード
| 名前 | 説明 |
|---|---|
| GetChars(Int32, Char[], Int32, Int32, Int32) |
指定された列位置のレコードから文字配列の値を取得します。 |
| GetChars(Int32, Int64, Char[], Int32, Int32) |
指定された列位置のレコードから文字配列の値を取得します。 |
GetChars(Int32, Char[], Int32, Int32, Int32)
指定された列位置のレコードから文字配列の値を取得します。
public:
int GetChars(int ordinal, cli::array <char> ^ buffer, int length, int bufferoffset, int fieldoffset);
public int GetChars(int ordinal, char[] buffer, int length, int bufferoffset, int fieldoffset);
member this.GetChars : int * char[] * int * int * int -> int
Public Function GetChars (ordinal As Integer, buffer As Char(), length As Integer, bufferoffset As Integer, fieldoffset As Integer) As Integer
パラメーター
- buffer
- Char[]
文字配列を読み込むバッファを指定する System.UInt8 配列です。
返品
配列に返される文字数を指定する int32 の値です。
例
適用対象
GetChars(Int32, Int64, Char[], Int32, Int32)
指定された列位置のレコードから文字配列の値を取得します。
public:
virtual long GetChars(int ordinal, long fieldoffset, cli::array <char> ^ buffer, int bufferoffset, int length);
public long GetChars(int ordinal, long fieldoffset, char[] buffer, int bufferoffset, int length);
abstract member GetChars : int * int64 * char[] * int * int -> int64
override this.GetChars : int * int64 * char[] * int * int -> int64
Public Function GetChars (ordinal As Integer, fieldoffset As Long, buffer As Char(), bufferoffset As Integer, length As Integer) As Long
パラメーター
返品
配列に返される文字数を指定する Int64 の値です。