Επεξεργασία

Κοινή χρήση μέσω


Rune.Explicit Operator

Definition

Overloads

Explicit(Char to Rune)

Defines an explicit conversion of a 16-bit Unicode character to a Rune.

Explicit(Int32 to Rune)

Defines an explicit conversion of a 32-bit signed integer to a Rune.

Explicit(UInt32 to Rune)

Defines an explicit conversion of a 32-bit unsigned integer to a Rune.

Explicit(Char to Rune)

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

Defines an explicit conversion of a 16-bit Unicode character to a Rune.

public:
 static explicit operator System::Text::Rune(char ch);
public static explicit operator System.Text.Rune (char ch);
static member op_Explicit : char -> System.Text.Rune
Public Shared Narrowing Operator CType (ch As Char) As Rune

Parameters

ch
Char

The 16-bit Unicode character to convert.

Returns

ch as a 32-bit Unicode character.

Exceptions

ch is a Unicode scalar that represents a surrogate code point.

Applies to

Explicit(Int32 to Rune)

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

Defines an explicit conversion of a 32-bit signed integer to a Rune.

public:
 static explicit operator System::Text::Rune(int value);
public static explicit operator System.Text.Rune (int value);
static member op_Explicit : int -> System.Text.Rune
Public Shared Narrowing Operator CType (value As Integer) As Rune

Parameters

value
Int32

The 32-bit signed integer to convert.

Returns

value as a 32-bit Unicode character.

Exceptions

value is an invalid Unicode scalar.

Applies to

Explicit(UInt32 to Rune)

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

Important

This API is not CLS-compliant.

Defines an explicit conversion of a 32-bit unsigned integer to a Rune.

public:
 static explicit operator System::Text::Rune(System::UInt32 value);
[System.CLSCompliant(false)]
public static explicit operator System.Text.Rune (uint value);
[<System.CLSCompliant(false)>]
static member op_Explicit : uint32 -> System.Text.Rune
Public Shared Narrowing Operator CType (value As UInteger) As Rune

Parameters

value
UInt32

The 32-bit signed integer to convert.

Returns

value as a 32-bit Unicode character.

Attributes

Exceptions

value is an invalid Unicode scalar.

Applies to