Rune.TryGetRuneAt(String, Int32, Rune) 메서드

정의

문자열의 지정된 위치에서 시작하는 Rune을 가져오고 작업에 성공했는지 나타내는 값을 반환합니다.

public:
 static bool TryGetRuneAt(System::String ^ input, int index, [Runtime::InteropServices::Out] System::Text::Rune % value);
public static bool TryGetRuneAt (string input, int index, out System.Text.Rune value);
static member TryGetRuneAt : string * int * Rune -> bool
Public Shared Function TryGetRuneAt (input As String, index As Integer, ByRef value As Rune) As Boolean

매개 변수

input
String

Rune을 추출할 시작 문자열입니다.

index
Int32

Rune을 추출할 0 기반 시작 인덱스입니다.

value
Rune

메서드가 반환되면 디코딩된 rune입니다.

반환

Boolean

지정된 인덱스에서 스칼라 값을 추출하면 true이고, 잘못된 데이터 때문에 값을 추출할 수 없으면 false입니다.

예외

input이(가) null인 경우

indexinput의 범위를 벗어납니다.

설명

범위를 벗어나거나 index 범위를 벗어난 경우 null input 예외를 throw합니다.

적용 대상