Rune.Explicit 演算子

定義

オーバーロード

Explicit(Char to Rune)

16 ビットの Unicode 文字の Rune への明示的な変換を定義します。

Explicit(Int32 to Rune)

32 ビット符号付き整数の Rune への明示的な変換を定義します。

Explicit(UInt32 to Rune)

32 ビット符号なし整数の Rune への明示的な変換を定義します。

Explicit(Char to Rune)

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

16 ビットの Unicode 文字の 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

パラメーター

ch
Char

変換する 16 ビットの Unicode 文字。

戻り値

32 ビットの Unicode 文字としての ch

例外

ch は、サロゲート コード ポイントを表す Unicode スカラーです。

適用対象

Explicit(Int32 to Rune)

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

32 ビット符号付き整数の 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

パラメーター

value
Int32

変換する 32 ビット符号付き整数。

戻り値

32 ビットの Unicode 文字としての value

例外

value は無効な Unicode スカラーです。

適用対象

Explicit(UInt32 to Rune)

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

重要

この API は CLS 準拠ではありません。

32 ビット符号なし整数の 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

パラメーター

value
UInt32

変換する 32 ビット符号付き整数。

戻り値

32 ビットの Unicode 文字としての value

属性

例外

value は無効な Unicode スカラーです。

適用対象