StringInfo.GetNextTextElementLength 메서드

정의

오버로드

GetNextTextElementLength(ReadOnlySpan<Char>)

입력 범위에서 발생하는 첫 번째 텍스트 요소(확장 그래프 클러스터)의 길이를 반환합니다.

GetNextTextElementLength(String)

입력 문자열에서 발생하는 첫 번째 텍스트 요소(확장 그래프 클러스터)의 길이를 반환합니다.

GetNextTextElementLength(String, Int32)

지정된 인덱스에서 시작하는 입력 문자열에서 발생하는 첫 번째 텍스트 요소(확장 그래프 클러스터)의 길이를 반환합니다.

GetNextTextElementLength(ReadOnlySpan<Char>)

Source:
StringInfo.cs
Source:
StringInfo.cs
Source:
StringInfo.cs

입력 범위에서 발생하는 첫 번째 텍스트 요소(확장 그래프 클러스터)의 길이를 반환합니다.

public:
 static int GetNextTextElementLength(ReadOnlySpan<char> str);
public static int GetNextTextElementLength (ReadOnlySpan<char> str);
static member GetNextTextElementLength : ReadOnlySpan<char> -> int
Public Shared Function GetNextTextElementLength (str As ReadOnlySpan(Of Char)) As Integer

매개 변수

str
ReadOnlySpan<Char>

분석할 입력 범위입니다.

반환

str의 첫 번째 텍스트 요소에 해당하는 부분 문자열의 길이(chars) 또는 가 비어 있는 경우 str 0입니다.

설명

그래프 클러스터는 단일 단위로 처리해야 하는 하나 이상의 유니코드 코드 포인트 시퀀스입니다.

적용 대상

GetNextTextElementLength(String)

Source:
StringInfo.cs
Source:
StringInfo.cs
Source:
StringInfo.cs

입력 문자열에서 발생하는 첫 번째 텍스트 요소(확장 그래프 클러스터)의 길이를 반환합니다.

public:
 static int GetNextTextElementLength(System::String ^ str);
public static int GetNextTextElementLength (string str);
static member GetNextTextElementLength : string -> int
Public Shared Function GetNextTextElementLength (str As String) As Integer

매개 변수

str
String

분석할 입력 문자열입니다.

반환

str의 첫 번째 텍스트 요소에 해당하는 부분 문자열의 길이(chars) 또는 가 비어 있는 경우 str 0입니다.

예외

strnull입니다.

설명

그래프 클러스터는 단일 단위로 처리해야 하는 하나 이상의 유니코드 코드 포인트 시퀀스입니다.

적용 대상

GetNextTextElementLength(String, Int32)

Source:
StringInfo.cs
Source:
StringInfo.cs
Source:
StringInfo.cs

지정된 인덱스에서 시작하는 입력 문자열에서 발생하는 첫 번째 텍스트 요소(확장 그래프 클러스터)의 길이를 반환합니다.

public:
 static int GetNextTextElementLength(System::String ^ str, int index);
public static int GetNextTextElementLength (string str, int index);
static member GetNextTextElementLength : string * int -> int
Public Shared Function GetNextTextElementLength (str As String, index As Integer) As Integer

매개 변수

str
String

분석할 입력 문자열입니다.

index
Int32

분석을 시작할 문자 오프셋 str 입니다.

반환

인덱index스에서 시작하는 첫 str 번째 텍스트 요소에 해당하는 부분 문자열의 길이(문자)이거나, 의 끝에 str해당하는 경우 index 0입니다.

예외

strnull입니다.

index 가 음수이거나 의 끝을 초과합니다 str.

설명

그래프 클러스터는 단일 단위로 처리해야 하는 하나 이상의 유니코드 코드 포인트 시퀀스입니다.

적용 대상