UIntPtr 構造体

定義

重要

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

ビット幅がポインターと同じ符号なし整数を表します。

public value class UIntPtr
public value class UIntPtr : IComparable, IComparable<UIntPtr>, IEquatable<UIntPtr>, IFormattable, System::Runtime::Serialization::ISerializable
public value class UIntPtr : IComparable, IComparable<UIntPtr>, IEquatable<UIntPtr>, ISpanFormattable, System::Runtime::Serialization::ISerializable
public value class UIntPtr : IComparable<UIntPtr>, IEquatable<UIntPtr>, IParsable<UIntPtr>, ISpanParsable<UIntPtr>, System::Numerics::IAdditionOperators<UIntPtr, UIntPtr, UIntPtr>, System::Numerics::IAdditiveIdentity<UIntPtr, UIntPtr>, System::Numerics::IBinaryInteger<UIntPtr>, System::Numerics::IBinaryNumber<UIntPtr>, System::Numerics::IBitwiseOperators<UIntPtr, UIntPtr, UIntPtr>, System::Numerics::IComparisonOperators<UIntPtr, UIntPtr, bool>, System::Numerics::IDecrementOperators<UIntPtr>, System::Numerics::IDivisionOperators<UIntPtr, UIntPtr, UIntPtr>, System::Numerics::IEqualityOperators<UIntPtr, UIntPtr, bool>, System::Numerics::IIncrementOperators<UIntPtr>, System::Numerics::IMinMaxValue<UIntPtr>, System::Numerics::IModulusOperators<UIntPtr, UIntPtr, UIntPtr>, System::Numerics::IMultiplicativeIdentity<UIntPtr, UIntPtr>, System::Numerics::IMultiplyOperators<UIntPtr, UIntPtr, UIntPtr>, System::Numerics::INumber<UIntPtr>, System::Numerics::INumberBase<UIntPtr>, System::Numerics::IShiftOperators<UIntPtr, int, UIntPtr>, System::Numerics::ISubtractionOperators<UIntPtr, UIntPtr, UIntPtr>, System::Numerics::IUnaryNegationOperators<UIntPtr, UIntPtr>, System::Numerics::IUnaryPlusOperators<UIntPtr, UIntPtr>, System::Numerics::IUnsignedNumber<UIntPtr>, System::Runtime::Serialization::ISerializable
public value class UIntPtr : IComparable<UIntPtr>, IEquatable<UIntPtr>, IParsable<UIntPtr>, ISpanParsable<UIntPtr>, IUtf8SpanParsable<UIntPtr>, System::Numerics::IAdditionOperators<UIntPtr, UIntPtr, UIntPtr>, System::Numerics::IAdditiveIdentity<UIntPtr, UIntPtr>, System::Numerics::IBinaryInteger<UIntPtr>, System::Numerics::IBinaryNumber<UIntPtr>, System::Numerics::IBitwiseOperators<UIntPtr, UIntPtr, UIntPtr>, System::Numerics::IComparisonOperators<UIntPtr, UIntPtr, bool>, System::Numerics::IDecrementOperators<UIntPtr>, System::Numerics::IDivisionOperators<UIntPtr, UIntPtr, UIntPtr>, System::Numerics::IEqualityOperators<UIntPtr, UIntPtr, bool>, System::Numerics::IIncrementOperators<UIntPtr>, System::Numerics::IMinMaxValue<UIntPtr>, System::Numerics::IModulusOperators<UIntPtr, UIntPtr, UIntPtr>, System::Numerics::IMultiplicativeIdentity<UIntPtr, UIntPtr>, System::Numerics::IMultiplyOperators<UIntPtr, UIntPtr, UIntPtr>, System::Numerics::INumber<UIntPtr>, System::Numerics::INumberBase<UIntPtr>, System::Numerics::IShiftOperators<UIntPtr, int, UIntPtr>, System::Numerics::ISubtractionOperators<UIntPtr, UIntPtr, UIntPtr>, System::Numerics::IUnaryNegationOperators<UIntPtr, UIntPtr>, System::Numerics::IUnaryPlusOperators<UIntPtr, UIntPtr>, System::Numerics::IUnsignedNumber<UIntPtr>, System::Runtime::Serialization::ISerializable
public value class UIntPtr : IEquatable<UIntPtr>, System::Runtime::Serialization::ISerializable
public value class UIntPtr : System::Runtime::Serialization::ISerializable
[System.CLSCompliant(false)]
public struct UIntPtr
[System.CLSCompliant(false)]
public readonly struct UIntPtr : IComparable, IComparable<UIntPtr>, IEquatable<UIntPtr>, IFormattable, System.Runtime.Serialization.ISerializable
[System.CLSCompliant(false)]
public readonly struct UIntPtr : IComparable, IComparable<UIntPtr>, IEquatable<UIntPtr>, ISpanFormattable, System.Runtime.Serialization.ISerializable
[System.CLSCompliant(false)]
public readonly struct UIntPtr : IComparable<UIntPtr>, IEquatable<UIntPtr>, IParsable<UIntPtr>, ISpanParsable<UIntPtr>, System.Numerics.IAdditionOperators<UIntPtr,UIntPtr,UIntPtr>, System.Numerics.IAdditiveIdentity<UIntPtr,UIntPtr>, System.Numerics.IBinaryInteger<UIntPtr>, System.Numerics.IBinaryNumber<UIntPtr>, System.Numerics.IBitwiseOperators<UIntPtr,UIntPtr,UIntPtr>, System.Numerics.IComparisonOperators<UIntPtr,UIntPtr,bool>, System.Numerics.IDecrementOperators<UIntPtr>, System.Numerics.IDivisionOperators<UIntPtr,UIntPtr,UIntPtr>, System.Numerics.IEqualityOperators<UIntPtr,UIntPtr,bool>, System.Numerics.IIncrementOperators<UIntPtr>, System.Numerics.IMinMaxValue<UIntPtr>, System.Numerics.IModulusOperators<UIntPtr,UIntPtr,UIntPtr>, System.Numerics.IMultiplicativeIdentity<UIntPtr,UIntPtr>, System.Numerics.IMultiplyOperators<UIntPtr,UIntPtr,UIntPtr>, System.Numerics.INumber<UIntPtr>, System.Numerics.INumberBase<UIntPtr>, System.Numerics.IShiftOperators<UIntPtr,int,UIntPtr>, System.Numerics.ISubtractionOperators<UIntPtr,UIntPtr,UIntPtr>, System.Numerics.IUnaryNegationOperators<UIntPtr,UIntPtr>, System.Numerics.IUnaryPlusOperators<UIntPtr,UIntPtr>, System.Numerics.IUnsignedNumber<UIntPtr>, System.Runtime.Serialization.ISerializable
[System.CLSCompliant(false)]
public readonly struct UIntPtr : IComparable<UIntPtr>, IEquatable<UIntPtr>, IParsable<UIntPtr>, ISpanParsable<UIntPtr>, IUtf8SpanParsable<UIntPtr>, System.Numerics.IAdditionOperators<UIntPtr,UIntPtr,UIntPtr>, System.Numerics.IAdditiveIdentity<UIntPtr,UIntPtr>, System.Numerics.IBinaryInteger<UIntPtr>, System.Numerics.IBinaryNumber<UIntPtr>, System.Numerics.IBitwiseOperators<UIntPtr,UIntPtr,UIntPtr>, System.Numerics.IComparisonOperators<UIntPtr,UIntPtr,bool>, System.Numerics.IDecrementOperators<UIntPtr>, System.Numerics.IDivisionOperators<UIntPtr,UIntPtr,UIntPtr>, System.Numerics.IEqualityOperators<UIntPtr,UIntPtr,bool>, System.Numerics.IIncrementOperators<UIntPtr>, System.Numerics.IMinMaxValue<UIntPtr>, System.Numerics.IModulusOperators<UIntPtr,UIntPtr,UIntPtr>, System.Numerics.IMultiplicativeIdentity<UIntPtr,UIntPtr>, System.Numerics.IMultiplyOperators<UIntPtr,UIntPtr,UIntPtr>, System.Numerics.INumber<UIntPtr>, System.Numerics.INumberBase<UIntPtr>, System.Numerics.IShiftOperators<UIntPtr,int,UIntPtr>, System.Numerics.ISubtractionOperators<UIntPtr,UIntPtr,UIntPtr>, System.Numerics.IUnaryNegationOperators<UIntPtr,UIntPtr>, System.Numerics.IUnaryPlusOperators<UIntPtr,UIntPtr>, System.Numerics.IUnsignedNumber<UIntPtr>, System.Runtime.Serialization.ISerializable
[System.CLSCompliant(false)]
public struct UIntPtr : IEquatable<UIntPtr>, System.Runtime.Serialization.ISerializable
[System.CLSCompliant(false)]
public readonly struct UIntPtr : IEquatable<UIntPtr>, System.Runtime.Serialization.ISerializable
[System.CLSCompliant(false)]
[System.Serializable]
public struct UIntPtr : System.Runtime.Serialization.ISerializable
[System.CLSCompliant(false)]
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public struct UIntPtr : System.Runtime.Serialization.ISerializable
[System.CLSCompliant(false)]
public struct UIntPtr : System.Runtime.Serialization.ISerializable
[<System.CLSCompliant(false)>]
type unativeint = struct
[<System.CLSCompliant(false)>]
type unativeint = struct
    interface IFormattable
    interface ISerializable
[<System.CLSCompliant(false)>]
type unativeint = struct
    interface ISpanFormattable
    interface IFormattable
    interface ISerializable
[<System.CLSCompliant(false)>]
type unativeint = struct
    interface IFormattable
    interface IParsable<unativeint>
    interface ISpanFormattable
    interface ISpanParsable<unativeint>
    interface IAdditionOperators<unativeint, unativeint, unativeint>
    interface IAdditiveIdentity<unativeint, unativeint>
    interface IBinaryInteger<unativeint>
    interface IBinaryNumber<unativeint>
    interface IBitwiseOperators<unativeint, unativeint, unativeint>
    interface IComparisonOperators<unativeint, unativeint, bool>
    interface IEqualityOperators<unativeint, unativeint, bool>
    interface IDecrementOperators<unativeint>
    interface IDivisionOperators<unativeint, unativeint, unativeint>
    interface IIncrementOperators<unativeint>
    interface IModulusOperators<unativeint, unativeint, unativeint>
    interface IMultiplicativeIdentity<unativeint, unativeint>
    interface IMultiplyOperators<unativeint, unativeint, unativeint>
    interface INumber<unativeint>
    interface INumberBase<unativeint>
    interface ISubtractionOperators<unativeint, unativeint, unativeint>
    interface IUnaryNegationOperators<unativeint, unativeint>
    interface IUnaryPlusOperators<unativeint, unativeint>
    interface IShiftOperators<unativeint, int, unativeint>
    interface IMinMaxValue<unativeint>
    interface IUnsignedNumber<unativeint>
    interface ISerializable
[<System.CLSCompliant(false)>]
type unativeint = struct
    interface IFormattable
    interface IParsable<unativeint>
    interface ISpanFormattable
    interface ISpanParsable<unativeint>
    interface IAdditionOperators<unativeint, unativeint, unativeint>
    interface IAdditiveIdentity<unativeint, unativeint>
    interface IBinaryInteger<unativeint>
    interface IBinaryNumber<unativeint>
    interface IBitwiseOperators<unativeint, unativeint, unativeint>
    interface IComparisonOperators<unativeint, unativeint, bool>
    interface IEqualityOperators<unativeint, unativeint, bool>
    interface IDecrementOperators<unativeint>
    interface IDivisionOperators<unativeint, unativeint, unativeint>
    interface IIncrementOperators<unativeint>
    interface IModulusOperators<unativeint, unativeint, unativeint>
    interface IMultiplicativeIdentity<unativeint, unativeint>
    interface IMultiplyOperators<unativeint, unativeint, unativeint>
    interface INumber<unativeint>
    interface INumberBase<unativeint>
    interface ISubtractionOperators<unativeint, unativeint, unativeint>
    interface IUnaryNegationOperators<unativeint, unativeint>
    interface IUnaryPlusOperators<unativeint, unativeint>
    interface IUtf8SpanFormattable
    interface IUtf8SpanParsable<unativeint>
    interface IShiftOperators<unativeint, int, unativeint>
    interface IMinMaxValue<unativeint>
    interface IUnsignedNumber<unativeint>
    interface ISerializable
[<System.CLSCompliant(false)>]
type unativeint = struct
    interface IFormattable
    interface IParsable<unativeint>
    interface ISpanFormattable
    interface ISpanParsable<unativeint>
    interface IUtf8SpanFormattable
    interface IUtf8SpanParsable<unativeint>
    interface IAdditionOperators<unativeint, unativeint, unativeint>
    interface IAdditiveIdentity<unativeint, unativeint>
    interface IBinaryInteger<unativeint>
    interface IBinaryNumber<unativeint>
    interface IBitwiseOperators<unativeint, unativeint, unativeint>
    interface IComparisonOperators<unativeint, unativeint, bool>
    interface IEqualityOperators<unativeint, unativeint, bool>
    interface IDecrementOperators<unativeint>
    interface IDivisionOperators<unativeint, unativeint, unativeint>
    interface IIncrementOperators<unativeint>
    interface IModulusOperators<unativeint, unativeint, unativeint>
    interface IMultiplicativeIdentity<unativeint, unativeint>
    interface IMultiplyOperators<unativeint, unativeint, unativeint>
    interface INumber<unativeint>
    interface INumberBase<unativeint>
    interface ISubtractionOperators<unativeint, unativeint, unativeint>
    interface IUnaryNegationOperators<unativeint, unativeint>
    interface IUnaryPlusOperators<unativeint, unativeint>
    interface IShiftOperators<unativeint, int, unativeint>
    interface IMinMaxValue<unativeint>
    interface IUnsignedNumber<unativeint>
    interface ISerializable
[<System.CLSCompliant(false)>]
type unativeint = struct
    interface ISerializable
[<System.CLSCompliant(false)>]
[<System.Serializable>]
type unativeint = struct
    interface ISerializable
[<System.CLSCompliant(false)>]
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type unativeint = struct
    interface ISerializable
Public Structure UIntPtr
Public Structure UIntPtr
Implements IComparable, IComparable(Of UIntPtr), IEquatable(Of UIntPtr), IFormattable, ISerializable
Public Structure UIntPtr
Implements IComparable, IComparable(Of UIntPtr), IEquatable(Of UIntPtr), ISerializable, ISpanFormattable
Public Structure UIntPtr
Implements IAdditionOperators(Of UIntPtr, UIntPtr, UIntPtr), IAdditiveIdentity(Of UIntPtr, UIntPtr), IBinaryInteger(Of UIntPtr), IBinaryNumber(Of UIntPtr), IBitwiseOperators(Of UIntPtr, UIntPtr, UIntPtr), IComparable(Of UIntPtr), IComparisonOperators(Of UIntPtr, UIntPtr, Boolean), IDecrementOperators(Of UIntPtr), IDivisionOperators(Of UIntPtr, UIntPtr, UIntPtr), IEqualityOperators(Of UIntPtr, UIntPtr, Boolean), IEquatable(Of UIntPtr), IIncrementOperators(Of UIntPtr), IMinMaxValue(Of UIntPtr), IModulusOperators(Of UIntPtr, UIntPtr, UIntPtr), IMultiplicativeIdentity(Of UIntPtr, UIntPtr), IMultiplyOperators(Of UIntPtr, UIntPtr, UIntPtr), INumber(Of UIntPtr), INumberBase(Of UIntPtr), IParsable(Of UIntPtr), ISerializable, IShiftOperators(Of UIntPtr, Integer, UIntPtr), ISpanParsable(Of UIntPtr), ISubtractionOperators(Of UIntPtr, UIntPtr, UIntPtr), IUnaryNegationOperators(Of UIntPtr, UIntPtr), IUnaryPlusOperators(Of UIntPtr, UIntPtr), IUnsignedNumber(Of UIntPtr)
Public Structure UIntPtr
Implements IAdditionOperators(Of UIntPtr, UIntPtr, UIntPtr), IAdditiveIdentity(Of UIntPtr, UIntPtr), IBinaryInteger(Of UIntPtr), IBinaryNumber(Of UIntPtr), IBitwiseOperators(Of UIntPtr, UIntPtr, UIntPtr), IComparable(Of UIntPtr), IComparisonOperators(Of UIntPtr, UIntPtr, Boolean), IDecrementOperators(Of UIntPtr), IDivisionOperators(Of UIntPtr, UIntPtr, UIntPtr), IEqualityOperators(Of UIntPtr, UIntPtr, Boolean), IEquatable(Of UIntPtr), IIncrementOperators(Of UIntPtr), IMinMaxValue(Of UIntPtr), IModulusOperators(Of UIntPtr, UIntPtr, UIntPtr), IMultiplicativeIdentity(Of UIntPtr, UIntPtr), IMultiplyOperators(Of UIntPtr, UIntPtr, UIntPtr), INumber(Of UIntPtr), INumberBase(Of UIntPtr), IParsable(Of UIntPtr), ISerializable, IShiftOperators(Of UIntPtr, Integer, UIntPtr), ISpanParsable(Of UIntPtr), ISubtractionOperators(Of UIntPtr, UIntPtr, UIntPtr), IUnaryNegationOperators(Of UIntPtr, UIntPtr), IUnaryPlusOperators(Of UIntPtr, UIntPtr), IUnsignedNumber(Of UIntPtr), IUtf8SpanParsable(Of UIntPtr)
Public Structure UIntPtr
Implements IEquatable(Of UIntPtr), ISerializable
Public Structure UIntPtr
Implements ISerializable
継承
UIntPtr
属性
実装
IComparable IComparable<UIntPtr> IEquatable<UIntPtr> IFormattable ISerializable ISpanFormattable IComparable<TSelf> IEquatable<TSelf> IParsable<UIntPtr> IParsable<TSelf> ISpanParsable<UIntPtr> ISpanParsable<TSelf> IAdditionOperators<UIntPtr,UIntPtr,UIntPtr> IAdditionOperators<TSelf,TSelf,TSelf> IAdditiveIdentity<UIntPtr,UIntPtr> IAdditiveIdentity<TSelf,TSelf> IBinaryInteger<UIntPtr> IBinaryNumber<UIntPtr> IBinaryNumber<TSelf> IBitwiseOperators<UIntPtr,UIntPtr,UIntPtr> IBitwiseOperators<TSelf,TSelf,TSelf> IComparisonOperators<UIntPtr,UIntPtr,Boolean> IComparisonOperators<TSelf,TSelf,Boolean> IDecrementOperators<UIntPtr> IDecrementOperators<TSelf> IDivisionOperators<UIntPtr,UIntPtr,UIntPtr> IDivisionOperators<TSelf,TSelf,TSelf> IEqualityOperators<UIntPtr,UIntPtr,Boolean> IEqualityOperators<TSelf,TOther,TResult> IEqualityOperators<TSelf,TSelf,Boolean> IIncrementOperators<UIntPtr> IIncrementOperators<TSelf> IMinMaxValue<UIntPtr> IModulusOperators<UIntPtr,UIntPtr,UIntPtr> IModulusOperators<TSelf,TSelf,TSelf> IMultiplicativeIdentity<UIntPtr,UIntPtr> IMultiplicativeIdentity<TSelf,TSelf> IMultiplyOperators<UIntPtr,UIntPtr,UIntPtr> IMultiplyOperators<TSelf,TSelf,TSelf> INumber<UIntPtr> INumber<TSelf> INumberBase<UIntPtr> INumberBase<TSelf> IShiftOperators<UIntPtr,Int32,UIntPtr> IShiftOperators<TSelf,Int32,TSelf> ISubtractionOperators<UIntPtr,UIntPtr,UIntPtr> ISubtractionOperators<TSelf,TSelf,TSelf> IUnaryNegationOperators<UIntPtr,UIntPtr> IUnaryNegationOperators<TSelf,TSelf> IUnaryPlusOperators<UIntPtr,UIntPtr> IUnaryPlusOperators<TSelf,TSelf> IUnsignedNumber<UIntPtr> IUtf8SpanFormattable IUtf8SpanParsable<UIntPtr> IUtf8SpanParsable<TSelf>

注釈

型は UIntPtr 、ポインターと同じサイズの整数に設計されています。 つまり、この型のインスタンスは、32 ビット プロセスでは 32 ビット、64 ビット プロセスでは 64 ビットである必要があります。

型は UIntPtr 、ポインターをサポートする言語で使用できます。また、ポインターをサポートする言語とサポートしていない言語間でデータを参照する一般的な手段として使用できます。 UIntPtr オブジェクトを使用してハンドルを保持することもできます。

注意

ポインターまたはハンドルとして を使用すると UIntPtr 、エラーが発生しやすく、安全ではありません。 これは単なる整数型であり、同じサイズであるため、ポインターとハンドルのインターチェンジ形式として使用できます。 ポインターをサポートしていない言語にデータを渡すなど、特定のインターチェンジ要件以外では、ポインターを表すために正しく型指定されたポインターを使用し、 SafeHandle ハンドルを表すために使用する必要があります。

この型は、 を実装します ISerializable。 .NET 5 以降のバージョンでは、この型は インターフェイスも実装します IFormattable 。 .NET 7 以降のバージョンでは、この型は、IMinMaxValue<TSelf>および IUnsignedNumber<TSelf> インターフェイスも実装IBinaryInteger<TSelf>します。

バージョン 9.0 以降の C# では、組 nuint み込み型を使用してネイティブ サイズの整数を定義できます。 この型は、 型によって UIntPtr 内部的に表され、整数型に適した演算と変換を提供します。 詳細については、「 nint 型と nuint 型」を参照してください。

バージョン 11 以降の C# では、.NET 7 以降のランタイムを対象とする場合、 nuint は のエイリアス UIntPtr と同じ方法 uint で の UInt32エイリアスです。

コンストラクター

UIntPtr(UInt32)

指定した 32 ビット符号なし整数を UIntPtr 使用して、 構造体の新しいインスタンスを初期化します。

UIntPtr(UInt64)

指定した 64 ビット符号なし整数を使用して の新しいインスタンス UIntPtr を初期化します。

UIntPtr(Void*)

指定されていない型へのポインターを使用して、UIntPtr の新しいインスタンスを初期化します。

フィールド

Zero

0 に初期化された符号なし整数を表す読み取り専用フィールド。

プロパティ

MaxValue

UIntPtr の最大有効値を表します。

MinValue

UIntPtr の最小有効値を表します。

Size

このインスタンスのサイズを取得します。

メソッド

Add(UIntPtr, Int32)

符号なし整数にオフセットを追加します。

Clamp(UIntPtr, UIntPtr, UIntPtr)

値を包括的な最小値と最大値にクランプします。

CompareTo(Object)

現在のインスタンスを同じ型の別のオブジェクトと比較し、現在のインスタンスの並べ替え順序での位置が、比較対象のオブジェクトと比べて前か、後か、または同じかを示す整数を返します。

CompareTo(UIntPtr)

現在のインスタンスを同じ型の別のオブジェクトと比較し、現在のインスタンスの並べ替え順序での位置が、比較対象のオブジェクトと比べて前か、後か、または同じかを示す整数を返します。

CreateChecked<TOther>(TOther)

現在の型のインスタンスを値から作成し、現在の型の表現可能な範囲外にある値に対してオーバーフロー例外をスローします。

CreateSaturating<TOther>(TOther)

現在の型のインスタンスを値から作成し、現在の型の表現可能な範囲外の値を飽和させます。

CreateTruncating<TOther>(TOther)

現在の型のインスタンスを値から作成し、現在の型の表現可能な範囲外の値を切り捨てます。

DivRem(UIntPtr, UIntPtr)

2 つの値の商と剰余を計算します。

Equals(Object)

このインスタンスが指定されたオブジェクトに等しいかどうかを示す値を返します。

Equals(UIntPtr)

現在のオブジェクトが、同じ型の別のオブジェクトと等しいかどうかを示します。

GetHashCode()

このインスタンスのハッシュ コードを返します。

IsEvenInteger(UIntPtr)

値が偶数の整数を表すかどうかを判断します。

IsOddInteger(UIntPtr)

値が奇数の整数を表すかどうかを判断します。

IsPow2(UIntPtr)

値が 2 の累乗であるかどうかを判断します。

LeadingZeroCount(UIntPtr)

値の先頭の 0 の数を計算します。

Log2(UIntPtr)

値の log2 を計算します。

Max(UIntPtr, UIntPtr)

2 つの値を比較して、より大きいコンピューティングを行います。

Min(UIntPtr, UIntPtr)

2 つの値を比較して、より小さいコンピューティングを行います。

Parse(ReadOnlySpan<Byte>, IFormatProvider)

UTF-8 文字のスパンを値に解析します。

Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider)

UTF-8 文字のスパンを値に解析します。

Parse(ReadOnlySpan<Char>, IFormatProvider)

文字のスパンを値に解析します。

Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)

必要に応じて指定されたスタイルの数値の文字表現の読み取り専用スパンと、必要に応じて指定されたカルチャ固有の形式を、符号なしネイティブ整数に変換します。

Parse(String)

数値の文字列形式を、それと等価な符号なしネイティブ整数に変換します。

Parse(String, IFormatProvider)

指定されたカルチャに固有の書式による数値の文字列形式を、それと等価な符号なしネイティブ整数に変換します。

Parse(String, NumberStyles)

指定したスタイルの数値の文字列形式を、それと等価な符号なしネイティブ整数に変換します。

Parse(String, NumberStyles, IFormatProvider)

指定されたスタイルとカルチャに固有の書式による数値の文字列形式を、それと等価な符号なしネイティブ整数に変換します。

PopCount(UIntPtr)

値に設定されているビット数を計算します。

RotateLeft(UIntPtr, Int32)

指定した量だけ値を左に回転します。

RotateRight(UIntPtr, Int32)

指定した量だけ値を右方向に回転します。

Sign(UIntPtr)

値の符号を計算します。

Subtract(UIntPtr, Int32)

符号なし整数からオフセットを減算します。

ToPointer()

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

ToString()

このインスタンスの数値を、それと等価な文字列形式に変換します。

ToString(IFormatProvider)

このインスタンスの数値を、指定した書式およびカルチャ固有の書式情報を使用して、それと等価な文字列形式に変換します。

ToString(String)

指定した書式を使用して、このインスタンスの数値を、それと等価な文字列形式に変換します。

ToString(String, IFormatProvider)

指定された書式を使用して現在のインスタンスの値を書式設定します。

ToUInt32()

このインスタンスの値を 32 ビット符号なし整数に変換します。

ToUInt64()

このインスタンスの値を 64 ビット符号なし整数に変換します。

TrailingZeroCount(UIntPtr)

値の末尾の 0 の数を計算します。

TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider)

現在のインスタンスの値を UTF-8 として指定されたバイトスパンに書式設定しようとします。

TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider)

現在のインスタンスの値を、指定された文字数のスパンに書式設定しようとします。

TryParse(ReadOnlySpan<Byte>, IFormatProvider, UIntPtr)

UTF-8 文字のスパンを値に解析しようとします。

TryParse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider, UIntPtr)

UTF-8 文字のスパンを値に解析しようとします。

TryParse(ReadOnlySpan<Byte>, UIntPtr)

数値の文字列表現を含む UTF-8 文字スパンを、等価の符号なし整数に変換しようとします。

TryParse(ReadOnlySpan<Char>, IFormatProvider, UIntPtr)

文字列を値に解析しようとします。

TryParse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider, UIntPtr)

指定したスタイルおよびカルチャ固有の形式の数値の文字表現の読み取り専用スパンを、等価の符号なしネイティブ整数に変換します。 戻り値は、変換が成功したかどうかを示します。

TryParse(ReadOnlySpan<Char>, UIntPtr)

数値の文字表現の読み取り専用スパンを、等価の符号なしネイティブ整数に変換します。 戻り値は、変換が成功したかどうかを示します。

TryParse(String, IFormatProvider, UIntPtr)

文字列を値に解析しようとします。

TryParse(String, NumberStyles, IFormatProvider, UIntPtr)

指定されたスタイルとカルチャに固有の書式による数値の文字列形式を、それと等価な符号なしネイティブ整数に変換します。 戻り値は、変換が成功したかどうかを示します。

TryParse(String, UIntPtr)

数値の文字列形式を、それと等価な符号なしネイティブ整数に変換します。 戻り値は、変換が成功したかどうかを示します。

演算子

Addition(UIntPtr, Int32)

符号なし整数にオフセットを追加します。

Equality(UIntPtr, UIntPtr)

UIntPtr の 2 つの指定したインスタンスが等しいかどうかを判断します。

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 に準拠していません。

Inequality(UIntPtr, UIntPtr)

UIntPtr の 2 つの指定したインスタンスが等しいかどうかを判断します。

Subtraction(UIntPtr, Int32)

符号なし整数からオフセットを減算します。

明示的なインターフェイスの実装

IAdditionOperators<UIntPtr,UIntPtr,UIntPtr>.Addition(UIntPtr, UIntPtr)

合計を計算するために 2 つの値を加算します。

IAdditionOperators<UIntPtr,UIntPtr,UIntPtr>.CheckedAddition(UIntPtr, UIntPtr)

合計を計算するために 2 つの値を加算します。

IAdditiveIdentity<UIntPtr,UIntPtr>.AdditiveIdentity

現在の型の加算 ID を取得します。

IBinaryInteger<UIntPtr>.GetByteCount()

の一部として書き込まれるバイト数を TryWriteLittleEndian(Span<Byte>, Int32)取得します。

IBinaryInteger<UIntPtr>.GetShortestBitLength()

現在の値の最短 2 の補数表現の長さをビット単位で取得します。

IBinaryInteger<UIntPtr>.TryReadBigEndian(ReadOnlySpan<Byte>, Boolean, UIntPtr)

ビット幅がポインターと同じ符号なし整数を表します。

IBinaryInteger<UIntPtr>.TryReadLittleEndian(ReadOnlySpan<Byte>, Boolean, UIntPtr)

ビット幅がポインターと同じ符号なし整数を表します。

IBinaryInteger<UIntPtr>.TryWriteBigEndian(Span<Byte>, Int32)

現在の値をビッグ エンディアン形式で特定のスパンに書き込もうとします。

IBinaryInteger<UIntPtr>.TryWriteLittleEndian(Span<Byte>, Int32)

特定のスパンに現在の値をリトル エンディアン形式で書き込もうとします。

IBinaryNumber<UIntPtr>.AllBitsSet

すべてのビットが設定されているバイナリ型のインスタンスを取得します。

IBitwiseOperators<UIntPtr,UIntPtr,UIntPtr>.BitwiseAnd(UIntPtr, UIntPtr)

ビットごとの と の 2 つの値を計算します。

IBitwiseOperators<UIntPtr,UIntPtr,UIntPtr>.BitwiseOr(UIntPtr, UIntPtr)

ビットごとのまたは 2 つの値を計算します。

IBitwiseOperators<UIntPtr,UIntPtr,UIntPtr>.ExclusiveOr(UIntPtr, UIntPtr)

2 つの値の排他的または排他的を計算します。

IBitwiseOperators<UIntPtr,UIntPtr,UIntPtr>.OnesComplement(UIntPtr)

指定された値の 1-補数表現を計算します。

IComparisonOperators<UIntPtr,UIntPtr,Boolean>.GreaterThan(UIntPtr, UIntPtr)

2 つの値を比較して、どちらが大きいかを判断します。

IComparisonOperators<UIntPtr,UIntPtr,Boolean>.GreaterThanOrEqual(UIntPtr, UIntPtr)

2 つの値を比較して、どちらが大きいか等しいかを判断します。

IComparisonOperators<UIntPtr,UIntPtr,Boolean>.LessThan(UIntPtr, UIntPtr)

2 つの値を比較して、どちらが小さいかを判断します。

IComparisonOperators<UIntPtr,UIntPtr,Boolean>.LessThanOrEqual(UIntPtr, UIntPtr)

2 つの値を比較して、次の値以下を決定します。

IDecrementOperators<UIntPtr>.CheckedDecrement(UIntPtr)

値をデクリメントします。

IDecrementOperators<UIntPtr>.Decrement(UIntPtr)

値をデクリメントします。

IDivisionOperators<UIntPtr,UIntPtr,UIntPtr>.Division(UIntPtr, UIntPtr)

1 つの値を別の値で除算して商を計算します。

IEquatable<UIntPtr>.Equals(UIntPtr)

このインスタンスが別の符号なし整数と等しいかどうかを示す値を返します。

IIncrementOperators<UIntPtr>.CheckedIncrement(UIntPtr)

値をインクリメントします。

IIncrementOperators<UIntPtr>.Increment(UIntPtr)

値をインクリメントします。

IMinMaxValue<UIntPtr>.MaxValue

現在の型の最大値を取得します。

IMinMaxValue<UIntPtr>.MinValue

現在の型の最小値を取得します。

IModulusOperators<UIntPtr,UIntPtr,UIntPtr>.Modulus(UIntPtr, UIntPtr)

2 つの値を一緒に除算して、その剰余または剰余を計算します。

IMultiplicativeIdentity<UIntPtr,UIntPtr>.MultiplicativeIdentity

現在の型の乗法 ID を取得します。

IMultiplyOperators<UIntPtr,UIntPtr,UIntPtr>.CheckedMultiply(UIntPtr, UIntPtr)

2 つの値を乗算して製品を計算します。

IMultiplyOperators<UIntPtr,UIntPtr,UIntPtr>.Multiply(UIntPtr, UIntPtr)

2 つの値を乗算して製品を計算します。

INumber<UIntPtr>.CopySign(UIntPtr, UIntPtr)

値の符号を別の値の符号にコピーします。

INumber<UIntPtr>.MaxNumber(UIntPtr, UIntPtr)

2 つの値を比較して、より大きいを計算し、入力が の場合は NaNもう一方の値を返します。

INumber<UIntPtr>.MinNumber(UIntPtr, UIntPtr)

2 つの値を比較して、より小さい計算を行い、入力が の場合は NaNもう一方の値を返します。

INumberBase<UIntPtr>.Abs(UIntPtr)

値の絶対を計算します。

INumberBase<UIntPtr>.IsCanonical(UIntPtr)

値が正規表現に含まれるかどうかを判断します。

INumberBase<UIntPtr>.IsComplexNumber(UIntPtr)

値が複素数を表すかどうかを判断します。

INumberBase<UIntPtr>.IsFinite(UIntPtr)

値が有限かどうかを判断します。

INumberBase<UIntPtr>.IsImaginaryNumber(UIntPtr)

値が純粋な虚数を表すかどうかを判断します。

INumberBase<UIntPtr>.IsInfinity(UIntPtr)

値が無限であるかどうかを判断します。

INumberBase<UIntPtr>.IsInteger(UIntPtr)

値が整数を表すかどうかを判断します。

INumberBase<UIntPtr>.IsNaN(UIntPtr)

値が NaN かどうかを判断します。

INumberBase<UIntPtr>.IsNegative(UIntPtr)

値が負かどうかを判断します。

INumberBase<UIntPtr>.IsNegativeInfinity(UIntPtr)

値が負の無限大であるかどうかを判断します。

INumberBase<UIntPtr>.IsNormal(UIntPtr)

値が正常かどうかを判断します。

INumberBase<UIntPtr>.IsPositive(UIntPtr)

値が正かどうかを判断します。

INumberBase<UIntPtr>.IsPositiveInfinity(UIntPtr)

値が正の無限大かどうかを判断します。

INumberBase<UIntPtr>.IsRealNumber(UIntPtr)

値が実数を表すかどうかを判断します。

INumberBase<UIntPtr>.IsSubnormal(UIntPtr)

値が非正規であるかどうかを判断します。

INumberBase<UIntPtr>.IsZero(UIntPtr)

値が 0 かどうかを判断します。

INumberBase<UIntPtr>.MaxMagnitude(UIntPtr, UIntPtr)

2 つの値を、より大きいコンピューティングと比較します。

INumberBase<UIntPtr>.MaxMagnitudeNumber(UIntPtr, UIntPtr)

2 つの値を比較して、大きさが大きい計算を行い、入力が の場合は NaNもう一方の値を返します。

INumberBase<UIntPtr>.MinMagnitude(UIntPtr, UIntPtr)

2 つの値を比較して計算します。この値は小さくなります。

INumberBase<UIntPtr>.MinMagnitudeNumber(UIntPtr, UIntPtr)

2 つの値を比較して、大きさが小さい計算を行い、入力が の場合は NaNもう一方の値を返します。

INumberBase<UIntPtr>.One

型の値 1 を取得します。

INumberBase<UIntPtr>.Radix

型の基数 (基本) を取得します。

INumberBase<UIntPtr>.TryConvertFromChecked<TOther>(TOther, UIntPtr)

ビット幅がポインターと同じ符号なし整数を表します。

INumberBase<UIntPtr>.TryConvertFromSaturating<TOther>(TOther, UIntPtr)

ビット幅がポインターと同じ符号なし整数を表します。

INumberBase<UIntPtr>.TryConvertFromTruncating<TOther>(TOther, UIntPtr)

ビット幅がポインターと同じ符号なし整数を表します。

INumberBase<UIntPtr>.TryConvertToChecked<TOther>(UIntPtr, TOther)

現在の型のインスタンスを別の型に変換しようとします。現在の型の表現可能な範囲外の値に対してオーバーフロー例外がスローされます。

INumberBase<UIntPtr>.TryConvertToSaturating<TOther>(UIntPtr, TOther)

現在の型のインスタンスを別の型に変換し、現在の型の表現可能な範囲外の値を飽和させます。

INumberBase<UIntPtr>.TryConvertToTruncating<TOther>(UIntPtr, TOther)

現在の型のインスタンスを別の型に変換し、現在の型の表現可能な範囲外の値を切り捨てようとします。

INumberBase<UIntPtr>.Zero

型の値 0 を取得します。

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

SerializationInfo オブジェクトに、現在の UIntPtr オブジェクトをシリアル化するために必要なすべてのデータを格納します。

IShiftOperators<UIntPtr,Int32,UIntPtr>.LeftShift(UIntPtr, Int32)

指定した量だけ値を左にシフトします。

IShiftOperators<UIntPtr,Int32,UIntPtr>.RightShift(UIntPtr, Int32)

値を特定の量だけ右にシフトします。

IShiftOperators<UIntPtr,Int32,UIntPtr>.UnsignedRightShift(UIntPtr, Int32)

値を特定の量だけ右にシフトします。

ISubtractionOperators<UIntPtr,UIntPtr,UIntPtr>.CheckedSubtraction(UIntPtr, UIntPtr)

2 つの値を減算して差を計算します。

ISubtractionOperators<UIntPtr,UIntPtr,UIntPtr>.Subtraction(UIntPtr, UIntPtr)

2 つの値を減算して差を計算します。

IUnaryNegationOperators<UIntPtr,UIntPtr>.CheckedUnaryNegation(UIntPtr)

値のチェックされた単項否定を計算します。

IUnaryNegationOperators<UIntPtr,UIntPtr>.UnaryNegation(UIntPtr)

値の単項否定を計算します。

IUnaryPlusOperators<UIntPtr,UIntPtr>.UnaryPlus(UIntPtr)

値の単項プラスを計算します。

適用対象

スレッド セーフ

この型はスレッド セーフです。

こちらもご覧ください