다음을 통해 공유


AbstractStringBuilder.GetChars(Int32, Int32, Char[], Int32) 메서드

정의

문자는 이 시퀀스에서 대상 문자 배열 dst로 복사됩니다.

[Android.Runtime.Register("getChars", "(II[CI)V", "GetGetChars_IIarrayCIHandler")]
public virtual void GetChars(int srcBegin, int srcEnd, char[]? dst, int dstBegin);
[<Android.Runtime.Register("getChars", "(II[CI)V", "GetGetChars_IIarrayCIHandler")>]
abstract member GetChars : int * int * char[] * int -> unit
override this.GetChars : int * int * char[] * int -> unit

매개 변수

srcBegin
Int32

이 오프셋에서 복사를 시작합니다.

srcEnd
Int32

이 오프셋에서 복사를 중지합니다.

dst
Char[]

데이터를 복사할 배열입니다.

dstBegin
Int32

에 대한 dst오프셋

특성

설명

문자는 이 시퀀스에서 대상 문자 배열 dst로 복사됩니다. 복사할 첫 번째 문자는 인덱 srcBegin스입니다. 복사할 마지막 문자는 인덱 srcEnd-1스입니다. 복사할 총 문자 수는 .입니다 srcEnd-srcBegin. 문자는 인덱스에서 시작하여 인덱 dstBegin 스에서 끝나는 하위 배열 dst 로 복사됩니다.

{@code
            dstbegin + (srcEnd-srcBegin) - 1
            }

에 대한 java.lang.AbstractStringBuilder.getChars(int, int, char[], int)Java 설명서

이 페이지의 일부는 Android 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.

적용 대상