Rune.TryCreate 메서드

정의

오버로드

TryCreate(Char, Rune)

지정된 문자에서 Rune을 만들려고 시도하며 작업이 성공했는지 나타내는 값을 반환합니다.

TryCreate(UInt32, Rune)

유니코드 스칼라 값을 나타내는 지정된 32비트 부호 없는 정수에서 Rune을 만듭니다.

TryCreate(Char, Char, Rune)

지정된 UTF-16 서로게이트 쌍에서 Rune을 만들고 작업이 성공했는지 나타내는 값을 반환합니다.

TryCreate(Int32, Rune)

유니코드 스칼라 값을 나타내는 지정된 부호 있는 정수에서 Rune을 만듭니다.

TryCreate(Char, Rune)

Source:
Rune.cs
Source:
Rune.cs
Source:
Rune.cs

지정된 문자에서 Rune을 만들려고 시도하며 작업이 성공했는지 나타내는 값을 반환합니다.

public:
 static bool TryCreate(char ch, [Runtime::InteropServices::Out] System::Text::Rune % result);
public static bool TryCreate (char ch, out System.Text.Rune result);
static member TryCreate : char * Rune -> bool
Public Shared Function TryCreate (ch As Char, ByRef result As Rune) As Boolean

매개 변수

ch
Char

Rune을 만들 시작 문자입니다.

result
Rune

메서드가 반환될 때 ch에 해당하는 Rune입니다.

반환

메서드가 성공한 경우 true이고, 그렇지 않으면 false입니다.

적용 대상

TryCreate(UInt32, Rune)

Source:
Rune.cs
Source:
Rune.cs
Source:
Rune.cs

중요

이 API는 CLS 규격이 아닙니다.

유니코드 스칼라 값을 나타내는 지정된 32비트 부호 없는 정수에서 Rune을 만듭니다.

public:
 static bool TryCreate(System::UInt32 value, [Runtime::InteropServices::Out] System::Text::Rune % result);
[System.CLSCompliant(false)]
public static bool TryCreate (uint value, out System.Text.Rune result);
[<System.CLSCompliant(false)>]
static member TryCreate : uint32 * Rune -> bool
Public Shared Function TryCreate (value As UInteger, ByRef result As Rune) As Boolean

매개 변수

value
UInt32

유니코드 스칼라 값입니다.

result
Rune

메서드가 반환될 때 value에 해당하는 Rune입니다.

반환

메서드가 성공한 경우 true이고, 그렇지 않으면 false입니다.

특성

적용 대상

TryCreate(Char, Char, Rune)

Source:
Rune.cs
Source:
Rune.cs
Source:
Rune.cs

지정된 UTF-16 서로게이트 쌍에서 Rune을 만들고 작업이 성공했는지 나타내는 값을 반환합니다.

public:
 static bool TryCreate(char highSurrogate, char lowSurrogate, [Runtime::InteropServices::Out] System::Text::Rune % result);
public static bool TryCreate (char highSurrogate, char lowSurrogate, out System.Text.Rune result);
static member TryCreate : char * char * Rune -> bool
Public Shared Function TryCreate (highSurrogate As Char, lowSurrogate As Char, ByRef result As Rune) As Boolean

매개 변수

highSurrogate
Char

서로게이트 쌍의 상위 서로게이트입니다.

lowSurrogate
Char

서로게이트 쌍의 하위 서로게이트입니다.

result
Rune

지정된 서로게이트 쌍에 해당하는 Rune입니다.

반환

작업에 성공하면 true이고, 입력 값이 형식이 잘 구성된 UTF-16 서로게이트 쌍을 나타내지 않으면 false입니다.

적용 대상

TryCreate(Int32, Rune)

Source:
Rune.cs
Source:
Rune.cs
Source:
Rune.cs

유니코드 스칼라 값을 나타내는 지정된 부호 있는 정수에서 Rune을 만듭니다.

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

매개 변수

value
Int32

유니코드 스칼라 값입니다.

result
Rune

메서드가 반환될 때 value에 해당하는 Rune입니다.

반환

메서드가 성공한 경우 true이고, 그렇지 않으면 false입니다.

적용 대상