A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.microsoft.com/en-us/dotnet/api/system.text.rune.trycreate below:

Rune.TryCreate Method (System.Text) | Microsoft Learn

Rune.TryCreate Method Definition Overloads TryCreate(Char, Rune)

Attempts to create a Rune from a specified character and returns a value that indicates whether the operation succeeded.

TryCreate(UInt32, Rune)

Attempts to create a Rune from the specified 32-bit unsigned integer that represents a Unicode scalar value.

TryCreate(Int32, Rune)

Attempts to create a Rune from a specified signed integer that represents a Unicode scalar value.

TryCreate(Char, Char, Rune)

Attempts to create a Rune from the specified UTF-16 surrogate pair and returns a value that indicates whether the operation was successful.

TryCreate(Char, Rune)
Source:
Rune.cs
Source:
Rune.cs
Source:
Rune.cs
Source:
Rune.cs

Attempts to create a Rune from a specified character and returns a value that indicates whether the operation succeeded.

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
Parameters
ch
Char

The character from which to create the rune.

result
Rune

When this method returns, the rune that corresponds to ch.

Returns

true if the method succeeded; otherwise, false.

TryCreate(UInt32, Rune)
Source:
Rune.cs
Source:
Rune.cs
Source:
Rune.cs
Source:
Rune.cs

Important

This API is not CLS-compliant.

Attempts to create a Rune from the specified 32-bit unsigned integer that represents a Unicode scalar value.

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
Parameters
value
UInt32

The Unicode scalar value.

result
Rune

When this method returns, the rune that corresponds to value.

Returns

true if the method succeeded; otherwise, false.

Attributes
TryCreate(Int32, Rune)
Source:
Rune.cs
Source:
Rune.cs
Source:
Rune.cs
Source:
Rune.cs

Attempts to create a Rune from a specified signed integer that represents a Unicode scalar value.

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
Parameters
value
Int32

The Unicode scalar value.

result
Rune

When this method returns, the rune that corresponds to value.

Returns

true if the method succeeded; otherwise, false.

TryCreate(Char, Char, Rune)
Source:
Rune.cs
Source:
Rune.cs
Source:
Rune.cs
Source:
Rune.cs

Attempts to create a Rune from the specified UTF-16 surrogate pair and returns a value that indicates whether the operation was successful.

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
Parameters
highSurrogate
Char

The high surrogate of the surrogate pair.

lowSurrogate
Char

The low surrogate of the surrogate pair.

result
Rune

The rune that corresponds to the specified surrogate pair.

Returns

true if the operation succeeded; false if the input values don't represent a well-formed UTF-16 surrogate pair.

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this article

Was this page helpful?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4