共用方式為


UInt32 結構

定義

重要

此 API 不符合 CLS 規範。

表示32位無符號整數。

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

備註

UInt32 實值類型代表不帶正負號的整數,其值範圍從 0 到 4,294,967,295。

重要

UInt32 類型不符合 CLS 標準。 符合 CLS 規範的替代類型 Int64。 您可以改用 Int32 來取代範圍從零到 MaxValueUInt32 值。 如需 CLS 合規性的詳細資訊,請參閱 Language Independence 和 Language-Independent Components

UInt32 提供方法來比較此類型的實例、將實例的值轉換為其 String 表示法,以及將數位的 String 表示轉換為此類型的實例。

如需格式規格代碼如何控制實值型別 String 表示的詳細資訊,請參閱 格式化類型

欄位

MaxValue

表示 UInt32的最大可能值。 此欄位是常數。

MinValue

表示 UInt32的最小可能值。 此欄位是常數。

方法

BigMul(UInt32, UInt32)

產生兩個不帶正負號 32 位數位的完整乘積。

Clamp(UInt32, UInt32, UInt32)

將值夾在內含最小值和最大值。

CompareTo(Object)

比較這個實例與指定的物件,並傳回其相對值的指示。

CompareTo(UInt32)

比較這個實例與指定的 32 位無符號整數,並傳回其相對值的指示。

CreateChecked<TOther>(TOther)

從值建立目前型別的實例,針對落在目前類型可表示範圍以外的任何值擲回溢位例外狀況。

CreateSaturating<TOther>(TOther)

從值建立目前型別的實例,使落在目前類型可表示範圍以外的任何值飽和。

CreateTruncating<TOther>(TOther)

從值建立目前型別的實例,截斷任何落在目前類型可表示範圍以外的值。

DivRem(UInt32, UInt32)

計算兩個值的商數和餘數。

Equals(Object)

傳回值,指出這個實例是否等於指定的物件。

Equals(UInt32)

傳回值,指出這個實體是否等於指定的 UInt32

GetHashCode()

傳回這個實例的哈希碼。

GetTypeCode()

傳回實值型別 UInt32TypeCode

IsEvenInteger(UInt32)

判斷值是否代表偶數整數。

IsOddInteger(UInt32)

判斷值是否代表奇數整數。

IsPow2(UInt32)

判斷值是否為兩個乘冪。

LeadingZeroCount(UInt32)

計算值中的前置零數目。

Log2(UInt32)

計算 值的log2。

Max(UInt32, UInt32)

比較兩個值與計算,這兩個值更大。

Min(UInt32, UInt32)

比較兩個值與計算比較較少。

Parse(ReadOnlySpan<Byte>, IFormatProvider)

將UTF-8字元的範圍剖析為值。

Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider)

將UTF-8字元的範圍剖析為值。

Parse(ReadOnlySpan<Char>, IFormatProvider)

將字元範圍剖析為值。

Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)

將指定樣式和特定文化特性格式的數位範圍表示轉換為其32位無符號整數對等專案。

Parse(String)

將數位的字串表示轉換為其相等的32位無符號整數。

Parse(String, IFormatProvider)

將指定之特定文化特性格式之數位的字串表示轉換為其32位無符號整數對等。

Parse(String, NumberStyles)

將指定樣式中數位的字串表示轉換為其相等的32位無符號整數。

Parse(String, NumberStyles, IFormatProvider)

將指定樣式和特定文化特性格式之數位的字串表示轉換為其32位無符號整數對等。

PopCount(UInt32)

計算值中所設定的位數。

RotateLeft(UInt32, Int32)

以指定的數量旋轉值。

RotateRight(UInt32, Int32)

以指定的數量向右旋轉值。

Sign(UInt32)

計算值的符號。

ToString()

將這個實例的數值轉換為其相等的字串表示。

ToString(IFormatProvider)

使用指定的特定文化特性格式資訊,將這個實例的數值轉換為其相等的字串表示。

ToString(String)

使用指定的格式,將這個實例的數值轉換為其相等字串表示。

ToString(String, IFormatProvider)

使用指定的格式和文化特性特定格式資訊,將這個實例的數值轉換為其相等的字串表示。

TrailingZeroCount(UInt32)

計算值中尾端零的數目。

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

嘗試將目前實例的值格式化為UTF-8到提供的位元組範圍。

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

嘗試將目前無符號整數數字實例的值格式化為提供的字元範圍。

TryParse(ReadOnlySpan<Byte>, IFormatProvider, UInt32)

嘗試將UTF-8字元的範圍剖析為值。

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

嘗試將UTF-8字元的範圍剖析為值。

TryParse(ReadOnlySpan<Byte>, UInt32)

嘗試將包含數位字串表示的UTF-8字元範圍轉換為其32位無符號整數對等專案。

TryParse(ReadOnlySpan<Char>, IFormatProvider, UInt32)

嘗試將字元範圍剖析成值。

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

嘗試將指定樣式和特定文化特性格式的數位範圍表示轉換為其32位無符號整數對等專案。 傳回值表示轉換成功或失敗。

TryParse(ReadOnlySpan<Char>, UInt32)

嘗試將數字的範圍表示轉換為其32位無符號整數對等專案。 傳回值表示轉換成功或失敗。

TryParse(String, IFormatProvider, UInt32)

嘗試將字串剖析成值。

TryParse(String, NumberStyles, IFormatProvider, UInt32)

嘗試將指定樣式和特定文化特性格式之數位的字串表示轉換成其 32 位無符號整數對等專案。 傳回值表示轉換成功或失敗。

TryParse(String, UInt32)

嘗試將數位的字串表示轉換為其相等的32位無符號整數。 傳回值表示轉換成功或失敗。

明確介面實作

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

將兩個值加在一起以計算其總和。

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

將兩個值加在一起以計算其總和。

IAdditiveIdentity<UInt32,UInt32>.AdditiveIdentity

取得目前型別的加法識別。

IBinaryInteger<UInt32>.GetByteCount()

取得將寫入為 TryWriteLittleEndian(Span<Byte>, Int32)一部分的位元元組數目。

IBinaryInteger<UInt32>.GetShortestBitLength()

取得最短兩個目前值的補碼表示長度,以位為單位。

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

表示32位無符號整數。

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

表示32位無符號整數。

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

嘗試以 big-endian 格式將目前的值寫入指定的範圍。

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

嘗試將目前值以小到尾格式寫入指定的範圍。

IBinaryNumber<UInt32>.AllBitsSet

取得已設定所有位之二進位型別的實例。

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

計算兩個值的位和 。

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

計算兩個值的位或兩個值。

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

計算兩個值的獨佔或兩個值。

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

計算指定值的 ones-complement 表示法。

IComparable.CompareTo(Object)

比較這個實例與指定的物件,並傳回其相對值的指示。

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

比較兩個值,以判斷哪一個值更大。

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

比較兩個值,以判斷哪一個值大於或相等。

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

比較兩個值,以判斷哪一個值較少。

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

比較兩個值,以判斷哪一個值小於或相等。

IConvertible.GetTypeCode()

傳回實值型別 UInt32TypeCode

IConvertible.ToBoolean(IFormatProvider)

如需此成員的描述,請參閱 ToBoolean(IFormatProvider)

IConvertible.ToByte(IFormatProvider)

如需此成員的描述,請參閱 ToByte(IFormatProvider)

IConvertible.ToChar(IFormatProvider)

如需此成員的描述,請參閱 ToChar(IFormatProvider)

IConvertible.ToDateTime(IFormatProvider)

不支援此轉換。 嘗試使用這個方法會擲回 InvalidCastException

IConvertible.ToDecimal(IFormatProvider)

如需此成員的描述,請參閱 ToDecimal(IFormatProvider)

IConvertible.ToDouble(IFormatProvider)

如需此成員的描述,請參閱 ToDouble(IFormatProvider)

IConvertible.ToInt16(IFormatProvider)

如需此成員的描述,請參閱 ToInt16(IFormatProvider)

IConvertible.ToInt32(IFormatProvider)

如需此成員的描述,請參閱 ToInt32(IFormatProvider)

IConvertible.ToInt64(IFormatProvider)

如需此成員的描述,請參閱 ToInt64(IFormatProvider)

IConvertible.ToSByte(IFormatProvider)

如需此成員的描述,請參閱 ToSByte(IFormatProvider)

IConvertible.ToSingle(IFormatProvider)

如需此成員的描述,請參閱 ToSingle(IFormatProvider)

IConvertible.ToType(Type, IFormatProvider)

如需此成員的描述,請參閱 ToType(Type, IFormatProvider)

IConvertible.ToUInt16(IFormatProvider)

如需此成員的描述,請參閱 ToUInt16(IFormatProvider)

IConvertible.ToUInt32(IFormatProvider)

如需此成員的描述,請參閱 ToUInt32(IFormatProvider)

IConvertible.ToUInt64(IFormatProvider)

如需此成員的描述,請參閱 ToUInt64(IFormatProvider)

IDecrementOperators<UInt32>.CheckedDecrement(UInt32)

遞減值。

IDecrementOperators<UInt32>.Decrement(UInt32)

遞減值。

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

將一個值除以計算其商數。

IEqualityOperators<UInt32,UInt32,Boolean>.Equality(UInt32, UInt32)

比較兩個值以判斷相等。

IEqualityOperators<UInt32,UInt32,Boolean>.Inequality(UInt32, UInt32)

比較兩個值以判斷不相等。

IIncrementOperators<UInt32>.CheckedIncrement(UInt32)

遞增值。

IIncrementOperators<UInt32>.Increment(UInt32)

遞增值。

IMinMaxValue<UInt32>.MaxValue

取得目前型別的最大值。

IMinMaxValue<UInt32>.MinValue

取得目前型別的最小值。

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

將兩個值分割在一起,以計算其模數或餘數。

IMultiplicativeIdentity<UInt32,UInt32>.MultiplicativeIdentity

取得目前型別的乘法識別。

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

將兩個值相乘以計算其產品。

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

將兩個值相乘以計算其產品。

INumber<UInt32>.CopySign(UInt32, UInt32)

將值的正負號複製到另一個值的正負號。

INumber<UInt32>.MaxNumber(UInt32, UInt32)

比較兩個值與計算,如果輸入是 NaN,則傳回另一個值。

INumber<UInt32>.MinNumber(UInt32, UInt32)

比較兩個值與計算,如果輸入 NaN,則傳回另一個值。

INumberBase<UInt32>.Abs(UInt32)

計算值的絕對值。

INumberBase<UInt32>.IsCanonical(UInt32)

判斷值是否在其標準表示法中。

INumberBase<UInt32>.IsComplexNumber(UInt32)

判斷值是否代表複數。

INumberBase<UInt32>.IsFinite(UInt32)

判斷值是否有限。

INumberBase<UInt32>.IsImaginaryNumber(UInt32)

判斷值是否代表純虛數。

INumberBase<UInt32>.IsInfinity(UInt32)

判斷值是否為無限。

INumberBase<UInt32>.IsInteger(UInt32)

判斷值是否代表整數。

INumberBase<UInt32>.IsNaN(UInt32)

判斷值是否為 NaN。

INumberBase<UInt32>.IsNegative(UInt32)

判斷值是否為負值。

INumberBase<UInt32>.IsNegativeInfinity(UInt32)

判斷值是否為負無限大。

INumberBase<UInt32>.IsNormal(UInt32)

判斷值是否正常。

INumberBase<UInt32>.IsPositive(UInt32)

判斷值是否為正數。

INumberBase<UInt32>.IsPositiveInfinity(UInt32)

判斷值是否為正無限大。

INumberBase<UInt32>.IsRealNumber(UInt32)

判斷值是否代表實數。

INumberBase<UInt32>.IsSubnormal(UInt32)

判斷值是否為次正規。

INumberBase<UInt32>.IsZero(UInt32)

判斷值是否為零。

INumberBase<UInt32>.MaxMagnitude(UInt32, UInt32)

比較兩個值與計算,這兩個值更大。

INumberBase<UInt32>.MaxMagnitudeNumber(UInt32, UInt32)

比較兩個值與計算,如果輸入 NaN,則其大小更大,並傳回另一個值。

INumberBase<UInt32>.MinMagnitude(UInt32, UInt32)

比較兩個值與計算比較較少。

INumberBase<UInt32>.MinMagnitudeNumber(UInt32, UInt32)

比較兩個值與計算,如果輸入是 NaN,則其大小較小,並傳回另一個值。

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

計算 (left * right) + addend的估計值。

INumberBase<UInt32>.One

取得型別的值 1

INumberBase<UInt32>.Radix

取得型別的基底或基底。

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

表示32位無符號整數。

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

表示32位無符號整數。

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

表示32位無符號整數。

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

嘗試將目前類型的實例轉換成另一個類型,針對落在目前類型可表示範圍以外的任何值擲回溢位例外狀況。

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

嘗試將目前類型的實例轉換成另一個類型,使任何落在目前類型可表示範圍以外的值飽和。

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

嘗試將目前類型的實例轉換成另一個類型,截斷落在目前類型可表示範圍以外的任何值。

INumberBase<UInt32>.Zero

取得型別的值 0

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

將指定數量留下的值移位。

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

將值向右移位指定的數量。

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

將值向右移位指定的數量。

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

減去兩個值來計算其差異。

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

減去兩個值來計算其差異。

IUnaryNegationOperators<UInt32,UInt32>.CheckedUnaryNegation(UInt32)

計算值的已核取一元否定。

IUnaryNegationOperators<UInt32,UInt32>.UnaryNegation(UInt32)

計算值的一元負值。

IUnaryPlusOperators<UInt32,UInt32>.UnaryPlus(UInt32)

計算值的一元加號。

適用於

執行緒安全性

此類型的所有成員都是安全線程。 看似修改實例狀態的成員實際上會傳回以新值初始化的新實例。 如同任何其他類型,讀取和寫入包含此類型實例的共用變數必須受到鎖定的保護,以確保線程安全性。

另請參閱