다음을 통해 공유


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 이상 버전에서 이 형식은 IBinaryInteger<TSelf>, IMinMaxValue<TSelf>IUnsignedNumber<TSelf> 인터페이스도 구현합니다.

버전 9.0부터 C#에서 기본 제공 nuint 형식을 사용하여 네이티브 크기의 정수를 정의할 수 있습니다. 이 형식은 내부적으로 UIntPtr 형식으로 표시되며 정수 형식에 적합한 작업 및 변환을 제공합니다. 자세한 내용은 nint 및 nuint 형식참조하세요.

C#에서 버전 11부터 .NET 7 이상 런타임을 대상으로 하는 경우 nuintuintUInt32별칭인 것과 동일한 방식으로 UIntPtr 별칭입니다.

생성자

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)

현재 형식의 표현 가능한 범위를 벗어나는 값에 대해 오버플로 예외를 throw하여 값에서 현재 형식의 인스턴스를 만듭니다.

CreateSaturating<TOther>(TOther)

현재 형식의 표현 가능한 범위를 벗어나는 모든 값을 채도하여 값에서 현재 형식의 인스턴스를 만듭니다.

CreateTruncating<TOther>(TOther)

현재 형식의 표현 가능한 범위를 벗어나는 값을 잘라내어 값에서 현재 형식의 인스턴스를 만듭니다.

DivRem(UIntPtr, UIntPtr)

두 값의 몫과 나머지를 계산합니다.

Equals(Object)

이 인스턴스가 지정된 개체와 같은지 여부를 나타내는 값을 반환합니다.

Equals(UIntPtr)

현재 개체가 같은 형식의 다른 개체와 같은지 여부를 나타냅니다.

GetHashCode()

이 인스턴스의 해시 코드를 반환합니다.

IsEvenInteger(UIntPtr)

값이 짝수 정수인지 여부를 확인합니다.

IsOddInteger(UIntPtr)

값이 홀수 정수인지 여부를 결정합니다.

IsPow2(UIntPtr)

값이 2의 힘인지 확인합니다.

LeadingZeroCount(UIntPtr)

값의 선행 0 수를 계산합니다.

Log2(UIntPtr)

값의 log2를 계산합니다.

Max(UIntPtr, UIntPtr)

두 값을 더 큰 컴퓨팅과 비교합니다.

Min(UIntPtr, UIntPtr)

두 값을 더 작은 컴퓨팅과 비교합니다.

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 인스턴스가 같은지 여부를 확인합니다.

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 인스턴스가 같지 않은지 여부를 확인합니다.

Subtraction(UIntPtr, Int32)

부호 없는 정수에서 오프셋을 뺍니다.

명시적 인터페이스 구현

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

합계를 계산하기 위해 두 값을 함께 추가합니다.

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

합계를 계산하기 위해 두 값을 함께 추가합니다.

IAdditiveIdentity<UIntPtr,UIntPtr>.AdditiveIdentity

현재 형식의 추가 ID를 가져옵니다.

IBinaryInteger<UIntPtr>.GetByteCount()

TryWriteLittleEndian(Span<Byte>, Int32)일부로 기록될 바이트 수를 가져옵니다.

IBinaryInteger<UIntPtr>.GetShortestBitLength()

현재 값에 대한 가장 짧은 두 개의 보수 표현의 길이(비트)를 가져옵니다.

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

비트 너비가 포인터와 같은 부호 없는 정수입니다.

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

비트 너비가 포인터와 같은 부호 없는 정수입니다.

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

현재 값을 big-endian 형식으로 지정된 범위에 쓰려고 합니다.

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

현재 값을 little-endian 형식으로 지정된 범위에 쓰려고 합니다.

IBinaryNumber<UIntPtr>.AllBitsSet

모든 비트가 설정된 이진 형식의 인스턴스를 가져옵니다.

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

두 값의 비트 및 값을 계산합니다.

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

비트 또는 두 값을 계산합니다.

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

배타적 또는 두 값을 계산합니다.

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

지정된 값의 보수 표현을 계산합니다.

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

두 값을 비교하여 더 큰 값을 결정합니다.

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

두 값을 비교하여 크거나 같은 값을 결정합니다.

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

두 값을 비교하여 더 적은 값을 결정합니다.

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

두 값을 비교하여 어느 값이 작거나 같은지 확인합니다.

IDecrementOperators<UIntPtr>.CheckedDecrement(UIntPtr)

값을 줄입니다.

IDecrementOperators<UIntPtr>.Decrement(UIntPtr)

값을 줄입니다.

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

한 값을 다른 값으로 나누어 몫을 계산합니다.

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)

두 값을 함께 나누어 모듈러스 또는 나머지를 계산합니다.

IMultiplicativeIdentity<UIntPtr,UIntPtr>.MultiplicativeIdentity

현재 형식의 곱하기 ID를 가져옵니다.

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

두 값을 함께 곱하여 제품을 계산합니다.

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

두 값을 함께 곱하여 제품을 계산합니다.

INumber<UIntPtr>.CopySign(UIntPtr, UIntPtr)

값의 기호를 다른 값의 기호에 복사합니다.

INumber<UIntPtr>.MaxNumber(UIntPtr, UIntPtr)

두 값을 더 큰 컴퓨팅과 비교하고 입력이 NaN경우 다른 값을 반환합니다.

INumber<UIntPtr>.MinNumber(UIntPtr, UIntPtr)

두 값을 더 작은 컴퓨팅과 비교하고 입력이 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)

두 값을 더 큰 컴퓨팅과 비교합니다.

INumberBase<UIntPtr>.MaxMagnitudeNumber(UIntPtr, UIntPtr)

크기가 더 큰 컴퓨팅과 두 값을 비교하고 입력이 NaN경우 다른 값을 반환합니다.

INumberBase<UIntPtr>.MinMagnitude(UIntPtr, UIntPtr)

두 값을 더 작은 컴퓨팅과 비교합니다.

INumberBase<UIntPtr>.MinMagnitudeNumber(UIntPtr, UIntPtr)

크기가 작은 컴퓨팅과 두 값을 비교하고 입력이 NaN경우 다른 값을 반환합니다.

INumberBase<UIntPtr>.MultiplyAddEstimate(UIntPtr, UIntPtr, UIntPtr)

추정값(left * right) + addend계산합니다.

INumberBase<UIntPtr>.One

형식에 대한 1 값을 가져옵니다.

INumberBase<UIntPtr>.Radix

형식의 radix 또는 base를 가져옵니다.

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

비트 너비가 포인터와 같은 부호 없는 정수입니다.

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

비트 너비가 포인터와 같은 부호 없는 정수입니다.

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

비트 너비가 포인터와 같은 부호 없는 정수입니다.

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

현재 형식의 인스턴스를 다른 형식으로 변환하여 현재 형식의 표시 가능한 범위를 벗어나는 값에 대해 오버플로 예외를 throw합니다.

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

현재 형식의 인스턴스를 다른 형식으로 변환하여 현재 형식의 표현 가능한 범위를 벗어나는 값을 채도합니다.

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

현재 형식의 인스턴스를 다른 형식으로 변환하여 현재 형식의 표현 가능한 범위를 벗어나는 값을 잘리려고 합니다.

INumberBase<UIntPtr>.Zero

형식에 대한 0 값을 가져옵니다.

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

현재 UIntPtr 개체를 serialize하는 데 필요한 데이터로 SerializationInfo 개체를 채웁니다.

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)

두 값을 빼서 차이를 계산합니다.

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

두 값을 빼서 차이를 계산합니다.

IUnaryNegationOperators<UIntPtr,UIntPtr>.CheckedUnaryNegation(UIntPtr)

값의 확인된 단항 부정을 계산합니다.

IUnaryNegationOperators<UIntPtr,UIntPtr>.UnaryNegation(UIntPtr)

값의 단항 부정을 계산합니다.

IUnaryPlusOperators<UIntPtr,UIntPtr>.UnaryPlus(UIntPtr)

값의 단항 플러스를 계산합니다.

적용 대상

스레드 보안

이 형식은 스레드로부터 안전합니다.

추가 정보