UInt32 Struktura

Definice

Důležité

Toto rozhraní API neodpovídá specifikaci CLS.

Představuje 32bitové celé číslo bez znaménka.

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
Dědičnost
UInt32
Atributy
Implementuje
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>

Poznámky

Typ UInt32 hodnoty představuje celá čísla bez znaménka s hodnotami od 0 do 4 294 967 295.

Důležité

Typ UInt32 není kompatibilní se specifikací CLS. Alternativní typ kompatibilní se specifikací CLS je Int64. Int32 lze místo toho použít k nahrazení hodnoty v rozsahu UInt32 od nuly do MaxValue. Další informace o dodržování předpisů cls najdete v tématu Jazyková nezávislost a součásti Language-Independent.

UInt32 poskytuje metody pro porovnání instancí tohoto typu, převod hodnoty instance na její String reprezentaci a převod String reprezentace čísla na instanci tohoto typu.

Informace o tom, jak kódy specifikace formátu řídí String reprezentaci typů hodnot, naleznete v tématu Typy formátování.

Pole

MaxValue

Představuje největší možnou hodnotu .UInt32 Toto pole je konstantní.

MinValue

Představuje nejmenší možnou hodnotu .UInt32 Toto pole je konstantní.

Metody

Clamp(UInt32, UInt32, UInt32)

Upne hodnotu na inkluzivní minimální a maximální hodnotu.

CompareTo(Object)

Porovná tuto instanci se zadaným objektem a vrací údaj o jejich relativních hodnotách.

CompareTo(UInt32)

Porovná tuto instanci se zadaným 32bitovým celočíselným číslem bez znaménka a vrátí označení jejich relativních hodnot.

CreateChecked<TOther>(TOther)

Vytvoří instanci aktuálního typu z hodnoty a vyvolá výjimku přetečení pro všechny hodnoty, které spadají mimo reprezentovatelný rozsah aktuálního typu.

CreateSaturating<TOther>(TOther)

Vytvoří instanci aktuálního typu z hodnoty a nasytí všechny hodnoty, které spadají mimo reprezentovatelný rozsah aktuálního typu.

CreateTruncating<TOther>(TOther)

Vytvoří instanci aktuálního typu z hodnoty a zkrátí všechny hodnoty, které spadají mimo reprezentovatelný rozsah aktuálního typu.

DivRem(UInt32, UInt32)

Vypočítá podíl a zbytek dvou hodnot.

Equals(Object)

Vrací hodnotu, která určuje, zda je tato instance rovna zadanému objektu.

Equals(UInt32)

Vrátí hodnotu označující, zda se tato instance rovná zadanému UInt32objektu .

GetHashCode()

Vrátí hodnotu hash pro tuto instanci.

GetTypeCode()

Vrátí hodnotu TypeCode pro typ UInt32hodnoty .

IsEvenInteger(UInt32)

Určuje, zda hodnota představuje sudé číslo.

IsOddInteger(UInt32)

Určuje, zda hodnota představuje liché celočíselné číslo.

IsPow2(UInt32)

Určuje, zda je hodnota mocnina dva.

LeadingZeroCount(UInt32)

Vypočítá počet počátečních nul v hodnotě.

Log2(UInt32)

Vypočítá log2 hodnoty.

Max(UInt32, UInt32)

Porovná dvě hodnoty pro výpočet, který je větší.

Min(UInt32, UInt32)

Porovná dvě hodnoty s výpočtem, který je menší.

Parse(ReadOnlySpan<Byte>, IFormatProvider)

Parsuje rozsah znaků UTF-8 na hodnotu.

Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider)

Parsuje rozsah znaků UTF-8 na hodnotu.

Parse(ReadOnlySpan<Char>, IFormatProvider)

Parsuje rozsah znaků na hodnotu.

Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)

Převede reprezentaci rozsahu čísla v zadaném stylu a formátu specifickém pro jazykovou verzi na jeho 32bitový celočíselný ekvivalent bez znaménka.

Parse(String)

Převede řetězcové vyjádření čísla na jeho 32bitový celočíselný ekvivalent bez znaménka.

Parse(String, IFormatProvider)

Převede řetězcové vyjádření čísla v zadaném formátu specifickém pro jazykovou verzi na jeho 32bitový celočíselný ekvivalent bez znaménka.

Parse(String, NumberStyles)

Převede řetězcové vyjádření čísla v zadaném stylu na jeho 32bitové celočíselné ekvivalenty bez znaménka.

Parse(String, NumberStyles, IFormatProvider)

Převede řetězcové vyjádření čísla v zadaném stylu a formátu specifickém pro jazykovou verzi na jeho 32bitový celočíselný ekvivalent bez znaménka.

PopCount(UInt32)

Vypočítá počet bitů, které jsou nastaveny v hodnotě.

RotateLeft(UInt32, Int32)

Otočí hodnotu, která zbyla o danou částku.

RotateRight(UInt32, Int32)

Otočí hodnotu doprava o danou částku.

Sign(UInt32)

Vypočítá znaménko hodnoty.

ToString()

Převádí číselnou hodnotu této instance na její ekvivalentní řetězcové vyjádření.

ToString(IFormatProvider)

Převádí číselnou hodnotu této instance na její ekvivalentní řetězcové vyjádření pomocí určených informací o formátování specifických pro jazykovou verzi.

ToString(String)

Převede číselnou hodnotu této instance na ekvivalentní řetězcové vyjádření pomocí zadaného formátu.

ToString(String, IFormatProvider)

Převádí číselnou hodnotu této instance na její ekvivalentní řetězcové vyjádření pomocí určeného formátu a informací o formátování specifických pro jazykovou verzi.

TrailingZeroCount(UInt32)

Vypočítá počet koncových nul v hodnotě.

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

Pokusí se naformátovat hodnotu aktuální instance jako UTF-8 do zadaného rozsahu bajtů.

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

Pokusí se formátovat hodnotu aktuální celé číslo bez znaménka instance do zadané rozsah znaků.

TryParse(ReadOnlySpan<Byte>, IFormatProvider, UInt32)

Pokusí se parsovat rozsah znaků UTF-8 na hodnotu.

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

Pokusí se parsovat rozsah znaků UTF-8 na hodnotu.

TryParse(ReadOnlySpan<Byte>, UInt32)

Pokusí se převést znakový rozsah UTF-8 obsahující řetězcové vyjádření čísla na jeho 32bitový celočíselný ekvivalent bez znaménka.

TryParse(ReadOnlySpan<Char>, IFormatProvider, UInt32)

Pokusí se parsovat rozsah znaků na hodnotu.

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

Pokusí se převést span reprezentace čísla v zadaném stylu a formátu specifickém pro jazykovou verzi na jeho 32bitové celočíselné ekvivalenty bez znaménka. Vrácená hodnota označuje, zda byl převod úspěšný, či nikoli.

TryParse(ReadOnlySpan<Char>, UInt32)

Pokusí se převést span reprezentace čísla na jeho 32bitové celočíselné ekvivalent bez znaménka. Vrácená hodnota označuje, zda byl převod úspěšný, či nikoli.

TryParse(String, IFormatProvider, UInt32)

Pokusí se parsovat řetězec na hodnotu.

TryParse(String, NumberStyles, IFormatProvider, UInt32)

Pokusí se převést řetězcové vyjádření čísla v zadaném stylu a formátu specifickém pro jazykovou verzi na jeho 32bitový celočíselný ekvivalent bez znaménka. Vrácená hodnota označuje, zda byl převod úspěšný, či nikoli.

TryParse(String, UInt32)

Pokusí se převést řetězcové vyjádření čísla na jeho 32bitový celočíselný ekvivalent bez znaménka. Vrácená hodnota označuje, zda byl převod úspěšný, či nikoli.

Explicitní implementace rozhraní

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

Sečte dvě hodnoty k výpočtu jejich součtu.

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

Sečte dvě hodnoty k výpočtu jejich součtu.

IAdditiveIdentity<UInt32,UInt32>.AdditiveIdentity

Získá přídatnou identitu aktuálního typu.

IBinaryInteger<UInt32>.GetByteCount()

Získá počet bajtů, které budou zapsány jako součást .TryWriteLittleEndian(Span<Byte>, Int32)

IBinaryInteger<UInt32>.GetShortestBitLength()

Získá délku, v bitech, nejkratší dva je doplněk reprezentace aktuální hodnoty.

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

Představuje 32bitové celé číslo bez znaménka.

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

Představuje 32bitové celé číslo bez znaménka.

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

Pokusí se zapsat aktuální hodnotu v daném rozsahu ve formátu big-endian.

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

Pokusí se zapsat aktuální hodnotu v daném rozsahu ve formátu little-endian.

IBinaryNumber<UInt32>.AllBitsSet

Získá instanci binárního typu, ve kterém jsou nastaveny všechny bity.

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

Vypočítá bitové hodnoty a dvou hodnot.

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

Vypočítá bitové nebo dvě hodnoty.

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

Vypočítá výhradní hodnotu nebo dvou hodnot.

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

Vypočítá reprezentaci dané hodnoty jako doplněk.

IComparable.CompareTo(Object)

Porovná tuto instanci se zadaným objektem a vrací údaj o jejich relativních hodnotách.

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

Porovná dvě hodnoty a určí, která je větší.

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

Porovná dvě hodnoty a určí, která hodnota je větší nebo rovna.

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

Porovná dvě hodnoty a určí, která hodnota je menší.

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

Porovná dvě hodnoty a určí, která hodnota je menší nebo rovna.

IConvertible.GetTypeCode()

Vrátí hodnotu TypeCode pro typ UInt32hodnoty .

IConvertible.ToBoolean(IFormatProvider)

Popis tohoto člena najdete v tématu ToBoolean(IFormatProvider).

IConvertible.ToByte(IFormatProvider)

Popis tohoto člena najdete v tématu ToByte(IFormatProvider).

IConvertible.ToChar(IFormatProvider)

Popis tohoto člena najdete v tématu ToChar(IFormatProvider).

IConvertible.ToDateTime(IFormatProvider)

Tento převod není podporován. Pokus o použití této metody vyvolá .InvalidCastException

IConvertible.ToDecimal(IFormatProvider)

Popis tohoto člena najdete v tématu ToDecimal(IFormatProvider).

IConvertible.ToDouble(IFormatProvider)

Popis tohoto člena najdete v tématu ToDouble(IFormatProvider).

IConvertible.ToInt16(IFormatProvider)

Popis tohoto člena najdete v tématu ToInt16(IFormatProvider).

IConvertible.ToInt32(IFormatProvider)

Popis tohoto člena najdete v tématu ToInt32(IFormatProvider).

IConvertible.ToInt64(IFormatProvider)

Popis tohoto člena najdete v tématu ToInt64(IFormatProvider).

IConvertible.ToSByte(IFormatProvider)

Popis tohoto člena najdete v tématu ToSByte(IFormatProvider).

IConvertible.ToSingle(IFormatProvider)

Popis tohoto člena najdete v tématu ToSingle(IFormatProvider).

IConvertible.ToType(Type, IFormatProvider)

Popis tohoto člena najdete v tématu ToType(Type, IFormatProvider).

IConvertible.ToUInt16(IFormatProvider)

Popis tohoto člena najdete v tématu ToUInt16(IFormatProvider).

IConvertible.ToUInt32(IFormatProvider)

Popis tohoto člena najdete v tématu ToUInt32(IFormatProvider).

IConvertible.ToUInt64(IFormatProvider)

Popis tohoto člena najdete v tématu ToUInt64(IFormatProvider).

IDecrementOperators<UInt32>.CheckedDecrement(UInt32)

Sníží hodnotu.

IDecrementOperators<UInt32>.Decrement(UInt32)

Sníží hodnotu.

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

Vydělí jednu hodnotu jinou za účelem výpočtu jejich podílu.

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

Porovná dvě hodnoty a určí rovnost.

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

Porovná dvě hodnoty a určí nerovnost.

IIncrementOperators<UInt32>.CheckedIncrement(UInt32)

Zvýší hodnotu.

IIncrementOperators<UInt32>.Increment(UInt32)

Zvýší hodnotu.

IMinMaxValue<UInt32>.MaxValue

Získá maximální hodnotu aktuálního typu.

IMinMaxValue<UInt32>.MinValue

Získá minimální hodnotu aktuálního typu.

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

Vydělí dvě hodnoty dohromady za účelem výpočtu jejich modulu nebo zbytku.

IMultiplicativeIdentity<UInt32,UInt32>.MultiplicativeIdentity

Získá multiplikativní identitu aktuálního typu.

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

Vynásobí dvě hodnoty dohromady a vypočítá jejich součin.

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

Vynásobí dvě hodnoty dohromady a vypočítá jejich součin.

INumber<UInt32>.CopySign(UInt32, UInt32)

Zkopíruje znaménko hodnoty na znaménko jiné hodnoty.

INumber<UInt32>.MaxNumber(UInt32, UInt32)

Porovná dvě hodnoty pro výpočet, který je větší a vrátí druhou hodnotu, pokud je NaNvstup .

INumber<UInt32>.MinNumber(UInt32, UInt32)

Porovná dvě hodnoty pro výpočet, který je menší a vrátí druhou hodnotu, pokud je NaNvstup .

INumberBase<UInt32>.Abs(UInt32)

Vypočítá absolutní hodnotu.

INumberBase<UInt32>.IsCanonical(UInt32)

Určuje, zda je hodnota v kanonické reprezentaci.

INumberBase<UInt32>.IsComplexNumber(UInt32)

Určuje, zda hodnota představuje komplexní číslo.

INumberBase<UInt32>.IsFinite(UInt32)

Určuje, zda je hodnota konečná.

INumberBase<UInt32>.IsImaginaryNumber(UInt32)

Určuje, zda hodnota představuje čisté imaginární číslo.

INumberBase<UInt32>.IsInfinity(UInt32)

Určuje, zda je hodnota nekonečná.

INumberBase<UInt32>.IsInteger(UInt32)

Určuje, zda hodnota představuje celočíselné číslo.

INumberBase<UInt32>.IsNaN(UInt32)

Určuje, jestli je hodnota NaN.

INumberBase<UInt32>.IsNegative(UInt32)

Určuje, jestli je hodnota záporná.

INumberBase<UInt32>.IsNegativeInfinity(UInt32)

Určuje, zda je hodnota záporné nekonečno.

INumberBase<UInt32>.IsNormal(UInt32)

Určuje, zda je hodnota normální.

INumberBase<UInt32>.IsPositive(UInt32)

Určuje, jestli je hodnota kladná.

INumberBase<UInt32>.IsPositiveInfinity(UInt32)

Určuje, zda je hodnota kladné nekonečno.

INumberBase<UInt32>.IsRealNumber(UInt32)

Určuje, zda hodnota představuje reálné číslo.

INumberBase<UInt32>.IsSubnormal(UInt32)

Určuje, jestli je hodnota podnormální.

INumberBase<UInt32>.IsZero(UInt32)

Určuje, zda je hodnota nula.

INumberBase<UInt32>.MaxMagnitude(UInt32, UInt32)

Porovná dvě hodnoty pro výpočet, který je větší.

INumberBase<UInt32>.MaxMagnitudeNumber(UInt32, UInt32)

Porovná dvě hodnoty pro výpočet, který má větší velikost a vrátí druhou hodnotu, pokud je NaNvstup .

INumberBase<UInt32>.MinMagnitude(UInt32, UInt32)

Porovná dvě hodnoty s výpočtem, který je menší.

INumberBase<UInt32>.MinMagnitudeNumber(UInt32, UInt32)

Porovná dvě hodnoty pro výpočet, který má menší velikost a vrátí druhou hodnotu, pokud je NaNvstup .

INumberBase<UInt32>.One

Získá hodnotu 1 pro typ.

INumberBase<UInt32>.Radix

Získá radix nebo základ pro typ.

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

Představuje 32bitové celé číslo bez znaménka.

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

Představuje 32bitové celé číslo bez znaménka.

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

Představuje 32bitové celé číslo bez znaménka.

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

Pokusí se převést instanci aktuálního typu na jiný typ, vyvolá výjimku přetečení pro všechny hodnoty, které spadají mimo reprezentovatelný rozsah aktuálního typu.

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

Pokusí se převést instanci aktuálního typu na jiný typ, nasytí všechny hodnoty, které spadají mimo reprezentovatelný rozsah aktuálního typu.

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

Pokusí se převést instanci aktuálního typu na jiný typ a zkrátí všechny hodnoty, které spadají mimo reprezentovatelný rozsah aktuálního typu.

INumberBase<UInt32>.Zero

Získá hodnotu 0 pro typ.

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

Posune hodnotu doleva o danou částku.

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

Posune hodnotu doprava o danou částku.

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

Posune hodnotu doprava o danou částku.

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

Odečte dvě hodnoty pro výpočet jejich rozdílu.

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

Odečte dvě hodnoty pro výpočet jejich rozdílu.

IUnaryNegationOperators<UInt32,UInt32>.CheckedUnaryNegation(UInt32)

Vypočítá zkontrolované unární negace hodnoty.

IUnaryNegationOperators<UInt32,UInt32>.UnaryNegation(UInt32)

Vypočítá unární negaci hodnoty.

IUnaryPlusOperators<UInt32,UInt32>.UnaryPlus(UInt32)

Vypočítá unární plus hodnoty.

Platí pro

Bezpečný přístup z více vláken

Všechny členy tohoto typu jsou zabezpečeny pro přístup z více vláken. Členy, které patrně upravují stav instance, ve skutečnosti vrací novou instanci inicializovanou s použitím nové hodnoty. Jako u jakéhokoli typu, čtení a zápis do sdílené proměnné, která obsahuje instanci tohoto typu, musí být chráněn zámkem, který zaručí bezpečný přístup z více vláken.

Viz také