UIntPtr.Explicit 演算子

定義

オーバーロード

Explicit(UInt32 to UIntPtr)

32 ビット符号なし整数の値を UIntPtr に変換します。

Explicit(UInt64 to UIntPtr)

64 ビット符号なし整数の値を UIntPtr に変換します。

Explicit(UIntPtr to UInt32)

指定した UIntPtr の値を 32 ビット符号なし整数に変換します。

Explicit(UIntPtr to UInt64)

指定した UIntPtr の値を 64 ビット符号なし整数に変換します。

Explicit(UIntPtr to Void*)

指定した UIntPtr の値を指定されていない型のポインターに変換します。

この API は、CLS に準拠していません。

Explicit(Void* to UIntPtr)

指定されていない型の指定のポインターを UIntPtr に変換します。

この API は、CLS に準拠していません。

Explicit(UInt32 to UIntPtr)

Source:
UIntPtr.cs
Source:
UIntPtr.cs
Source:
UIntPtr.cs

32 ビット符号なし整数の値を UIntPtr に変換します。

public:
 static explicit operator UIntPtr(System::UInt32 value);
public static explicit operator UIntPtr (uint value);
static member op_Explicit : uint32 -> unativeint
Public Shared Narrowing Operator CType (value As UInteger) As UIntPtr

パラメーター

value
UInt32

32 ビット符号なし整数

戻り値

UIntPtr

unativeint

UIntPtr に初期化される value の新しいインスタンス。

こちらもご覧ください

適用対象

Explicit(UInt64 to UIntPtr)

Source:
UIntPtr.cs
Source:
UIntPtr.cs
Source:
UIntPtr.cs

64 ビット符号なし整数の値を UIntPtr に変換します。

public:
 static explicit operator UIntPtr(System::UInt64 value);
public static explicit operator UIntPtr (ulong value);
static member op_Explicit : uint64 -> unativeint
Public Shared Narrowing Operator CType (value As ULong) As UIntPtr

パラメーター

value
UInt64

64 ビット符号なし整数。

戻り値

UIntPtr

unativeint

UIntPtr に初期化される value の新しいインスタンス。

例外

32 ビット プロセスでは、 value が大きすぎて として表すのが UIntPtr大きすぎます。

こちらもご覧ください

適用対象

Explicit(UIntPtr to UInt32)

Source:
UIntPtr.cs
Source:
UIntPtr.cs
Source:
UIntPtr.cs

指定した UIntPtr の値を 32 ビット符号なし整数に変換します。

public:
 static explicit operator System::UInt32(UIntPtr value);
public static explicit operator uint (UIntPtr value);
static member op_Explicit : unativeint -> uint32
Public Shared Narrowing Operator CType (value As UIntPtr) As UInteger

パラメーター

value
UIntPtr

unativeint

変換する符号なし整数。

戻り値

value の内容。

例外

64 ビット プロセスでは、 の value 値が大きすぎて 32 ビット符号なし整数として表されません。

注釈

例外は、 の値が実行中の value プロセスでサポートされているビットよりも多くのビットを必要とする場合にのみスローされます。

こちらもご覧ください

適用対象

Explicit(UIntPtr to UInt64)

Source:
UIntPtr.cs
Source:
UIntPtr.cs
Source:
UIntPtr.cs

指定した UIntPtr の値を 64 ビット符号なし整数に変換します。

public:
 static explicit operator System::UInt64(UIntPtr value);
public static explicit operator ulong (UIntPtr value);
static member op_Explicit : unativeint -> uint64
Public Shared Narrowing Operator CType (value As UIntPtr) As ULong

パラメーター

value
UIntPtr

unativeint

変換する符号なし整数。

戻り値

value の内容。

こちらもご覧ください

適用対象

Explicit(UIntPtr to Void*)

Source:
UIntPtr.cs
Source:
UIntPtr.cs
Source:
UIntPtr.cs

重要

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

指定した UIntPtr の値を指定されていない型のポインターに変換します。

この API は、CLS に準拠していません。

public:
 static explicit operator void*(UIntPtr value);
[System.CLSCompliant(false)]
[System.Security.SecurityCritical]
public static explicit operator void* (UIntPtr value);
public static explicit operator void* (UIntPtr value);
[System.CLSCompliant(false)]
public static explicit operator void* (UIntPtr value);
[<System.CLSCompliant(false)>]
[<System.Security.SecurityCritical>]
static member op_Explicit : unativeint -> nativeptr<unit>
static member op_Explicit : unativeint -> nativeptr<unit>
[<System.CLSCompliant(false)>]
static member op_Explicit : unativeint -> nativeptr<unit>

パラメーター

value
UIntPtr

unativeint

変換する符号なし整数。

戻り値

Void*

value の内容。

属性

こちらもご覧ください

適用対象

Explicit(Void* to UIntPtr)

Source:
UIntPtr.cs
Source:
UIntPtr.cs
Source:
UIntPtr.cs

重要

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

指定されていない型の指定のポインターを UIntPtr に変換します。

この API は、CLS に準拠していません。

public:
 static explicit operator UIntPtr(void* value);
[System.CLSCompliant(false)]
[System.Security.SecurityCritical]
public static explicit operator UIntPtr (void* value);
public static explicit operator UIntPtr (void* value);
[System.CLSCompliant(false)]
public static explicit operator UIntPtr (void* value);
[<System.CLSCompliant(false)>]
[<System.Security.SecurityCritical>]
static member op_Explicit : nativeptr<unit> -> unativeint
static member op_Explicit : nativeptr<unit> -> unativeint
[<System.CLSCompliant(false)>]
static member op_Explicit : nativeptr<unit> -> unativeint

パラメーター

value
Void*

指定されていない型を指すポインター。

戻り値

UIntPtr

unativeint

UIntPtr に初期化される value の新しいインスタンス。

属性

こちらもご覧ください

適用対象