TraceReader.GetChars 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 열의 위치에서 버퍼 오프셋부터 문자 배열 값을 얻습니다.
오버로드
| Name | Description |
|---|---|
| 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 배열에서 반환되는 문자 수를 지정하는 값입니다.