Breyta

Deila með


UInt32 Struct

Definition

Important

This API is not CLS-compliant.

Represents a 32-bit unsigned integer.

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
Inheritance
UInt32
Attributes
Implements
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>

Remarks

The UInt32 value type represents unsigned integers with values ranging from 0 to 4,294,967,295.

Important

The UInt32 type is not CLS-compliant. The CLS-compliant alternative type is Int64. Int32 can be used instead to replace a UInt32 value that ranges from zero to MaxValue. For more information about CLS compliance, see Language Independence and Language-Independent Components.

UInt32 provides methods to compare instances of this type, convert the value of an instance to its String representation, and convert the String representation of a number to an instance of this type.

For information about how format specification codes control the String representation of value types, see Formatting Types.

Fields

MaxValue

Represents the largest possible value of UInt32. This field is constant.

MinValue

Represents the smallest possible value of UInt32. This field is constant.

Methods

BigMul(UInt32, UInt32)

Produces the full product of two unsigned 32-bit numbers.

Clamp(UInt32, UInt32, UInt32)

Clamps a value to an inclusive minimum and maximum value.

CompareTo(Object)

Compares this instance to a specified object and returns an indication of their relative values.

CompareTo(UInt32)

Compares this instance to a specified 32-bit unsigned integer and returns an indication of their relative values.

CreateChecked<TOther>(TOther)

Creates an instance of the current type from a value, throwing an overflow exception for any values that fall outside the representable range of the current type.

CreateSaturating<TOther>(TOther)

Creates an instance of the current type from a value, saturating any values that fall outside the representable range of the current type.

CreateTruncating<TOther>(TOther)

Creates an instance of the current type from a value, truncating any values that fall outside the representable range of the current type.

DivRem(UInt32, UInt32)

Computes the quotient and remainder of two values.

Equals(Object)

Returns a value indicating whether this instance is equal to a specified object.

Equals(UInt32)

Returns a value indicating whether this instance is equal to a specified UInt32.

GetHashCode()

Returns the hash code for this instance.

GetTypeCode()

Returns the TypeCode for value type UInt32.

IsEvenInteger(UInt32)

Determines if a value represents an even integral number.

IsOddInteger(UInt32)

Determines if a value represents an odd integral number.

IsPow2(UInt32)

Determines if a value is a power of two.

LeadingZeroCount(UInt32)

Computes the number of leading zeros in a value.

Log2(UInt32)

Computes the log2 of a value.

Max(UInt32, UInt32)

Compares two values to compute which is greater.

Min(UInt32, UInt32)

Compares two values to compute which is lesser.

Parse(ReadOnlySpan<Byte>, IFormatProvider)

Parses a span of UTF-8 characters into a value.

Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider)

Parses a span of UTF-8 characters into a value.

Parse(ReadOnlySpan<Char>, IFormatProvider)

Parses a span of characters into a value.

Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)

Converts the span representation of a number in a specified style and culture-specific format to its 32-bit unsigned integer equivalent.

Parse(String, IFormatProvider)

Converts the string representation of a number in a specified culture-specific format to its 32-bit unsigned integer equivalent.

Parse(String, NumberStyles, IFormatProvider)

Converts the string representation of a number in a specified style and culture-specific format to its 32-bit unsigned integer equivalent.

Parse(String, NumberStyles)

Converts the string representation of a number in a specified style to its 32-bit unsigned integer equivalent.

Parse(String)

Converts the string representation of a number to its 32-bit unsigned integer equivalent.

PopCount(UInt32)

Computes the number of bits that are set in a value.

RotateLeft(UInt32, Int32)

Rotates a value left by a given amount.

RotateRight(UInt32, Int32)

Rotates a value right by a given amount.

Sign(UInt32)

Computes the sign of a value.

ToString()

Converts the numeric value of this instance to its equivalent string representation.

ToString(IFormatProvider)

Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information.

ToString(String, IFormatProvider)

Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information.

ToString(String)

Converts the numeric value of this instance to its equivalent string representation using the specified format.

TrailingZeroCount(UInt32)

Computes the number of trailing zeros in a value.

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

Tries to format the value of the current instance as UTF-8 into the provided span of bytes.

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

Tries to format the value of the current unsigned integer number instance into the provided span of characters.

TryParse(ReadOnlySpan<Byte>, IFormatProvider, UInt32)

Tries to parse a span of UTF-8 characters into a value.

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

Tries to parse a span of UTF-8 characters into a value.

TryParse(ReadOnlySpan<Byte>, UInt32)

Tries to convert a UTF-8 character span containing the string representation of a number to its 32-bit unsigned integer equivalent.

TryParse(ReadOnlySpan<Char>, IFormatProvider, UInt32)

Tries to parse a span of characters into a value.

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

Tries to convert the span representation of a number in a specified style and culture-specific format to its 32-bit unsigned integer equivalent. A return value indicates whether the conversion succeeded or failed.

TryParse(ReadOnlySpan<Char>, UInt32)

Tries to convert the span representation of a number to its 32-bit unsigned integer equivalent. A return value indicates whether the conversion succeeded or failed.

TryParse(String, IFormatProvider, UInt32)

Tries to parse a string into a value.

TryParse(String, NumberStyles, IFormatProvider, UInt32)

Tries to convert the string representation of a number in a specified style and culture-specific format to its 32-bit unsigned integer equivalent. A return value indicates whether the conversion succeeded or failed.

TryParse(String, UInt32)

Tries to convert the string representation of a number to its 32-bit unsigned integer equivalent. A return value indicates whether the conversion succeeded or failed.

Explicit Interface Implementations

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

Adds two values together to compute their sum.

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

Adds two values together to compute their sum.

IAdditiveIdentity<UInt32,UInt32>.AdditiveIdentity

Gets the additive identity of the current type.

IBinaryInteger<UInt32>.GetByteCount()

Gets the number of bytes that will be written as part of TryWriteLittleEndian(Span<Byte>, Int32).

IBinaryInteger<UInt32>.GetShortestBitLength()

Gets the length, in bits, of the shortest two's complement representation of the current value.

IBinaryInteger<UInt32>.TryReadBigEndian(ReadOnlySpan<Byte>, Boolean, UInt32)
IBinaryInteger<UInt32>.TryReadLittleEndian(ReadOnlySpan<Byte>, Boolean, UInt32)
IBinaryInteger<UInt32>.TryWriteBigEndian(Span<Byte>, Int32)

Tries to write the current value, in big-endian format, to a given span.

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

Tries to write the current value, in little-endian format, to a given span.

IBinaryNumber<UInt32>.AllBitsSet

Gets an instance of the binary type in which all bits are set.

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

Computes the bitwise-and of two values.

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

Computes the bitwise-or of two values.

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

Computes the exclusive-or of two values.

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

Computes the ones-complement representation of a given value.

IComparable.CompareTo(Object)

Compares this instance to a specified object and returns an indication of their relative values.

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

Compares two values to determine which is greater.

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

Compares two values to determine which is greater or equal.

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

Compares two values to determine which is less.

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

Compares two values to determine which is less or equal.

IConvertible.GetTypeCode()

Returns the TypeCode for value type UInt32.

IConvertible.ToBoolean(IFormatProvider)

For a description of this member, see ToBoolean(IFormatProvider).

IConvertible.ToByte(IFormatProvider)

For a description of this member, see ToByte(IFormatProvider).

IConvertible.ToChar(IFormatProvider)

For a description of this member, see ToChar(IFormatProvider).

IConvertible.ToDateTime(IFormatProvider)

This conversion is not supported. Attempting to use this method throws an InvalidCastException.

IConvertible.ToDecimal(IFormatProvider)

For a description of this member, see ToDecimal(IFormatProvider).

IConvertible.ToDouble(IFormatProvider)

For a description of this member, see ToDouble(IFormatProvider).

IConvertible.ToInt16(IFormatProvider)

For a description of this member, see ToInt16(IFormatProvider).

IConvertible.ToInt32(IFormatProvider)

For a description of this member, see ToInt32(IFormatProvider).

IConvertible.ToInt64(IFormatProvider)

For a description of this member, see ToInt64(IFormatProvider).

IConvertible.ToSByte(IFormatProvider)

For a description of this member, see ToSByte(IFormatProvider).

IConvertible.ToSingle(IFormatProvider)

For a description of this member, see ToSingle(IFormatProvider).

IConvertible.ToType(Type, IFormatProvider)

For a description of this member, see ToType(Type, IFormatProvider).

IConvertible.ToUInt16(IFormatProvider)

For a description of this member, see ToUInt16(IFormatProvider).

IConvertible.ToUInt32(IFormatProvider)

For a description of this member, see ToUInt32(IFormatProvider).

IConvertible.ToUInt64(IFormatProvider)

For a description of this member, see ToUInt64(IFormatProvider).

IDecrementOperators<UInt32>.CheckedDecrement(UInt32)

Decrements a value.

IDecrementOperators<UInt32>.Decrement(UInt32)

Decrements a value.

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

Divides one value by another to compute their quotient.

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

Compares two values to determine equality.

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

Compares two values to determine inequality.

IIncrementOperators<UInt32>.CheckedIncrement(UInt32)

Increments a value.

IIncrementOperators<UInt32>.Increment(UInt32)

Increments a value.

IMinMaxValue<UInt32>.MaxValue

Gets the maximum value of the current type.

IMinMaxValue<UInt32>.MinValue

Gets the minimum value of the current type.

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

Divides two values together to compute their modulus or remainder.

IMultiplicativeIdentity<UInt32,UInt32>.MultiplicativeIdentity

Gets the multiplicative identity of the current type.

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

Multiplies two values together to compute their product.

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

Multiplies two values together to compute their product.

INumber<UInt32>.CopySign(UInt32, UInt32)

Copies the sign of a value to the sign of another value.

INumber<UInt32>.MaxNumber(UInt32, UInt32)

Compares two values to compute which is greater and returning the other value if an input is NaN.

INumber<UInt32>.MinNumber(UInt32, UInt32)

Compares two values to compute which is lesser and returning the other value if an input is NaN.

INumberBase<UInt32>.Abs(UInt32)

Computes the absolute of a value.

INumberBase<UInt32>.IsCanonical(UInt32)

Determines if a value is in its canonical representation.

INumberBase<UInt32>.IsComplexNumber(UInt32)

Determines if a value represents a complex number.

INumberBase<UInt32>.IsFinite(UInt32)

Determines if a value is finite.

INumberBase<UInt32>.IsImaginaryNumber(UInt32)

Determines if a value represents a pure imaginary number.

INumberBase<UInt32>.IsInfinity(UInt32)

Determines if a value is infinite.

INumberBase<UInt32>.IsInteger(UInt32)

Determines if a value represents an integral number.

INumberBase<UInt32>.IsNaN(UInt32)

Determines if a value is NaN.

INumberBase<UInt32>.IsNegative(UInt32)

Determines if a value is negative.

INumberBase<UInt32>.IsNegativeInfinity(UInt32)

Determines if a value is negative infinity.

INumberBase<UInt32>.IsNormal(UInt32)

Determines if a value is normal.

INumberBase<UInt32>.IsPositive(UInt32)

Determines if a value is positive.

INumberBase<UInt32>.IsPositiveInfinity(UInt32)

Determines if a value is positive infinity.

INumberBase<UInt32>.IsRealNumber(UInt32)

Determines if a value represents a real number.

INumberBase<UInt32>.IsSubnormal(UInt32)

Determines if a value is subnormal.

INumberBase<UInt32>.IsZero(UInt32)

Determines if a value is zero.

INumberBase<UInt32>.MaxMagnitude(UInt32, UInt32)

Compares two values to compute which is greater.

INumberBase<UInt32>.MaxMagnitudeNumber(UInt32, UInt32)

Compares two values to compute which has the greater magnitude and returning the other value if an input is NaN.

INumberBase<UInt32>.MinMagnitude(UInt32, UInt32)

Compares two values to compute which is lesser.

INumberBase<UInt32>.MinMagnitudeNumber(UInt32, UInt32)

Compares two values to compute which has the lesser magnitude and returning the other value if an input is NaN.

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

Computes an estimate of (left * right) + addend.

INumberBase<UInt32>.One

Gets the value 1 for the type.

INumberBase<UInt32>.Radix

Gets the radix, or base, for the type.

INumberBase<UInt32>.TryConvertFromChecked<TOther>(TOther, UInt32)
INumberBase<UInt32>.TryConvertFromSaturating<TOther>(TOther, UInt32)
INumberBase<UInt32>.TryConvertFromTruncating<TOther>(TOther, UInt32)
INumberBase<UInt32>.TryConvertToChecked<TOther>(UInt32, TOther)

Tries to convert an instance of the the current type to another type, throwing an overflow exception for any values that fall outside the representable range of the current type.

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

Tries to convert an instance of the the current type to another type, saturating any values that fall outside the representable range of the current type.

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

Tries to convert an instance of the the current type to another type, truncating any values that fall outside the representable range of the current type.

INumberBase<UInt32>.Zero

Gets the value 0 for the type.

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

Shifts a value left by a given amount.

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

Shifts a value right by a given amount.

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

Shifts a value right by a given amount.

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

Subtracts two values to compute their difference.

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

Subtracts two values to compute their difference.

IUnaryNegationOperators<UInt32,UInt32>.CheckedUnaryNegation(UInt32)

Computes the checked unary negation of a value.

IUnaryNegationOperators<UInt32,UInt32>.UnaryNegation(UInt32)

Computes the unary negation of a value.

IUnaryPlusOperators<UInt32,UInt32>.UnaryPlus(UInt32)

Computes the unary plus of a value.

Applies to

Thread Safety

All members of this type are thread safe. Members that appear to modify instance state actually return a new instance initialized with the new value. As with any other type, reading and writing to a shared variable that contains an instance of this type must be protected by a lock to guarantee thread safety.

See also