언어

TraceReader.GetChars 메서드

정의

지정된 열의 위치에서 버퍼 오프셋부터 문자 배열 값을 얻습니다.

오버로드

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

매개 변수

ordinal
Int32

Int32 문자 배열 값을 불러올 수 있는 열의 위치를 지정하는 값입니다.

buffer
Char[]

System.UInt8 문자 배열을 읽을 버퍼를 지정하는 배열입니다.

length
Int32

Int32 읽어야 할 문자 수를 지정하는 값입니다.

bufferoffset
Int32

Int32 읽기 작업을 시작할 인덱스를 지정하는 값입니다.

fieldoffset
Int32

Int32 읽기 작업을 시작할 레코드 내 인덱스 위치를 지정하는 값입니다.

반품

배열에 반환된 문자 수를 지정하는 int32 값입니다.

예제

Readme_Tracer

적용 대상

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

매개 변수

ordinal
Int32

Int32 문자 배열 값을 불러올 수 있는 열의 위치를 지정하는 값입니다.

fieldoffset
Int64

Int32 읽기 작업을 시작할 레코드 내 인덱스 위치를 지정하는 값입니다.

buffer
Char[]

Char 문자 배열을 읽을 버퍼를 지정하는 배열입니다.

bufferoffset
Int32

Int32 읽기 작업을 시작할 인덱스를 지정하는 값입니다.

length
Int32

Int32 읽어야 할 문자 수를 지정하는 값입니다.

반품

Int64 배열에서 반환되는 문자 수를 지정하는 값입니다.

구현

예제

Readme_Tracer

적용 대상