UIntPtr.Explicit Operator

定義

オーバーロード

名前 説明
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)

ソース:
UIntPtr.cs
ソース:
UIntPtr.cs
ソース:
UIntPtr.cs
ソース:
UIntPtr.cs
ソース:
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)

ソース:
UIntPtr.cs
ソース:
UIntPtr.cs
ソース:
UIntPtr.cs
ソース:
UIntPtr.cs
ソース:
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)

ソース:
UIntPtr.cs
ソース:
UIntPtr.cs
ソース:
UIntPtr.cs
ソース:
UIntPtr.cs
ソース:
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)

ソース:
UIntPtr.cs
ソース:
UIntPtr.cs
ソース:
UIntPtr.cs
ソース:
UIntPtr.cs
ソース:
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*)

ソース:
UIntPtr.cs
ソース:
UIntPtr.cs
ソース:
UIntPtr.cs
ソース:
UIntPtr.cs
ソース:
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)

ソース:
UIntPtr.cs
ソース:
UIntPtr.cs
ソース:
UIntPtr.cs
ソース:
UIntPtr.cs
ソース:
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の新しいインスタンス。

属性

こちらもご覧ください

適用対象