UInt32 Struktura
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Ważne
Ten interfejs API nie jest zgodny ze specyfikacją CLS.
Reprezentuje 32-bitową liczbę całkowitą bez znaku.
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
- Dziedziczenie
- Atrybuty
- 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>
Uwagi
Typ UInt32
wartości reprezentuje niepodpisane liczby całkowite z wartościami od 0 do 4294 967 295.
Ważne
Typ UInt32 nie jest zgodny ze specyfikacją CLS. Alternatywny typ zgodny ze specyfikacją CLS to Int64. Int32 Można zamiast tego zastąpić UInt32 wartość, która waha się od zera do MaxValue. Aby uzyskać więcej informacji na temat zgodności ze środowiska CLS, zobacz Niezależność języka i składniki Language-Independent.
UInt32
Udostępnia metody porównywania wystąpień tego typu, konwertowania wartości wystąpienia na jego String reprezentację i konwertowania String reprezentacji liczby na wystąpienie tego typu.
Aby uzyskać informacje o sposobie kontrolowania reprezentacji typów wartości przez String kody specyfikacji formatu, zobacz Typy formatowania.
Pola
MaxValue |
Reprezentuje największą możliwą wartość .UInt32 To pole jest stałe. |
MinValue |
Reprezentuje najmniejszą możliwą wartość .UInt32 To pole jest stałe. |
Metody
Clamp(UInt32, UInt32, UInt32) |
Zaciska wartość do wartości minimalnej i maksymalnej. |
CompareTo(Object) |
Porównuje to wystąpienie z określonym obiektem i zwraca wskazanie ich względnych wartości. |
CompareTo(UInt32) |
Porównuje to wystąpienie z 32-bitową niepodpisaną liczbą całkowitą i zwraca wskazanie ich wartości względnych. |
CreateChecked<TOther>(TOther) |
Tworzy wystąpienie bieżącego typu z wartości, zgłaszając wyjątek przepełnienia dla wszystkich wartości, które wykraczają poza reprezentatywny zakres bieżącego typu. |
CreateSaturating<TOther>(TOther) |
Tworzy wystąpienie bieżącego typu z wartości, saturując wszystkie wartości, które mieszczą się poza reprezentatywnym zakresem bieżącego typu. |
CreateTruncating<TOther>(TOther) |
Tworzy wystąpienie bieżącego typu z wartości, obcinając wszystkie wartości, które wykraczają poza reprezentatywny zakres bieżącego typu. |
DivRem(UInt32, UInt32) |
Oblicza iloraz i pozostałą część dwóch wartości. |
Equals(Object) |
Zwraca wartość wskazującą, czy to wystąpienie jest równe podanemu obiektowi. |
Equals(UInt32) |
Zwraca wartość wskazującą, czy to wystąpienie jest równe określonej UInt32wartości . |
GetHashCode() |
Zwraca wartość skrótu dla tego wystąpienia. |
GetTypeCode() | |
IsEvenInteger(UInt32) |
Określa, czy wartość reprezentuje parzystą liczbę całkowitą. |
IsOddInteger(UInt32) |
Określa, czy wartość reprezentuje nieparzystą liczbę całkowitą. |
IsPow2(UInt32) |
Określa, czy wartość jest mocą dwóch. |
LeadingZeroCount(UInt32) |
Oblicza liczbę zer wiodących w wartości. |
Log2(UInt32) |
Oblicza dziennik2 wartości. |
Max(UInt32, UInt32) |
Porównuje dwie wartości z obliczeniami, które są większe. |
Min(UInt32, UInt32) |
Porównuje dwie wartości z obliczeniami, które są mniejsze. |
Parse(ReadOnlySpan<Byte>, IFormatProvider) |
Analizuje zakres znaków UTF-8 w wartość. |
Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider) |
Analizuje zakres znaków UTF-8 w wartość. |
Parse(ReadOnlySpan<Char>, IFormatProvider) |
Analizuje zakres znaków w wartości. |
Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider) |
Konwertuje reprezentację zakresu liczby w określonym stylu i formacie specyficznym dla kultury na odpowiednik 32-bitowej liczby całkowitej bez znaku. |
Parse(String) |
Konwertuje reprezentację ciągu liczby na 32-bitową niepodpisaną liczbę całkowitą równoważną. |
Parse(String, IFormatProvider) |
Konwertuje reprezentację ciągu liczby w określonym formacie specyficznym dla kultury na odpowiednik 32-bitowej liczby całkowitej bez znaku. |
Parse(String, NumberStyles) |
Konwertuje reprezentację ciągu liczby w określonym stylu na odpowiednik 32-bitowej liczby całkowitej bez znaku. |
Parse(String, NumberStyles, IFormatProvider) |
Konwertuje reprezentację ciągu liczby w określonym stylu i formacie specyficznym dla kultury na odpowiednik 32-bitowej liczby całkowitej bez znaku. |
PopCount(UInt32) |
Oblicza liczbę bitów ustawionych w wartości. |
RotateLeft(UInt32, Int32) |
Obraca wartość pozostawioną przez daną kwotę. |
RotateRight(UInt32, Int32) |
Obraca wartość z prawej strony według danej kwoty. |
Sign(UInt32) |
Oblicza znak wartości. |
ToString() |
Konwertuje wartość liczbową tego wystąpienia na równoważną reprezentację w postaci ciągu. |
ToString(IFormatProvider) |
Konwertuje wartość liczbową tego wystąpienia na równoważną reprezentację w postaci ciągu przy użyciu podanych danych formatowania specyficznych dla kultury. |
ToString(String) |
Konwertuje wartość liczbową tego wystąpienia na równoważną reprezentację ciągu przy użyciu określonego formatu. |
ToString(String, IFormatProvider) |
Konwertuje wartość liczbową tego wystąpienia na równoważną reprezentację w postaci ciągu przy użyciu podanego formatu i informacji specyficznych dla kultury. |
TrailingZeroCount(UInt32) |
Oblicza liczbę końcowych zer w wartości. |
TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider) |
Próbuje sformatować wartość bieżącego wystąpienia jako UTF-8 w podanym zakresie bajtów. |
TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider) |
Próbuje sformatować wartość bieżącego wystąpienia liczby całkowitej bez znaku w podanym zakresie znaków. |
TryParse(ReadOnlySpan<Byte>, IFormatProvider, UInt32) |
Próbuje przeanalizować zakres znaków UTF-8 w wartości. |
TryParse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider, UInt32) |
Próbuje przeanalizować zakres znaków UTF-8 w wartości. |
TryParse(ReadOnlySpan<Byte>, UInt32) |
Próbuje przekonwertować zakres znaków UTF-8 zawierający reprezentację ciągu liczby na odpowiednik 32-bitowej liczby całkowitej bez znaku. |
TryParse(ReadOnlySpan<Char>, IFormatProvider, UInt32) |
Próbuje przeanalizować zakres znaków w wartości. |
TryParse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider, UInt32) |
Próbuje przekonwertować reprezentację zakresu liczby w określonym stylu i formacie specyficznym dla kultury na odpowiednik 32-bitowej liczby całkowitej bez znaku. Zwracana wartość wskazuje, czy konwersja powiodła się czy nie. |
TryParse(ReadOnlySpan<Char>, UInt32) |
Próbuje przekonwertować reprezentację zakresu liczby na odpowiednik 32-bitowej liczby całkowitej bez znaku. Zwracana wartość wskazuje, czy konwersja powiodła się czy nie. |
TryParse(String, IFormatProvider, UInt32) |
Próbuje przeanalizować ciąg w wartości. |
TryParse(String, NumberStyles, IFormatProvider, UInt32) |
Próbuje przekonwertować reprezentację ciągu liczby w określonym stylu i formacie specyficznym dla kultury na odpowiednik 32-bitowej liczby całkowitej bez znaku. Zwracana wartość wskazuje, czy konwersja powiodła się czy nie. |
TryParse(String, UInt32) |
Próbuje przekonwertować reprezentację ciągu liczby na odpowiednik 32-bitowej liczby całkowitej bez znaku. Zwracana wartość wskazuje, czy konwersja powiodła się czy nie. |
Jawne implementacje interfejsu
IAdditionOperators<UInt32,UInt32,UInt32>.Addition(UInt32, UInt32) |
Dodaje dwie wartości w celu obliczenia ich sumy. |
IAdditionOperators<UInt32,UInt32,UInt32>.CheckedAddition(UInt32, UInt32) |
Dodaje dwie wartości w celu obliczenia ich sumy. |
IAdditiveIdentity<UInt32,UInt32>.AdditiveIdentity |
Pobiera tożsamość addytywnego bieżącego typu. |
IBinaryInteger<UInt32>.GetByteCount() |
Pobiera liczbę bajtów, które zostaną zapisane w ramach TryWriteLittleEndian(Span<Byte>, Int32)elementu . |
IBinaryInteger<UInt32>.GetShortestBitLength() |
Pobiera długość w bitach najkrótszej reprezentacji bieżącej wartości. |
IBinaryInteger<UInt32>.TryReadBigEndian(ReadOnlySpan<Byte>, Boolean, UInt32) |
Reprezentuje 32-bitową liczbę całkowitą bez znaku. |
IBinaryInteger<UInt32>.TryReadLittleEndian(ReadOnlySpan<Byte>, Boolean, UInt32) |
Reprezentuje 32-bitową liczbę całkowitą bez znaku. |
IBinaryInteger<UInt32>.TryWriteBigEndian(Span<Byte>, Int32) |
Próbuje zapisać bieżącą wartość w formacie big-endian do danego zakresu. |
IBinaryInteger<UInt32>.TryWriteLittleEndian(Span<Byte>, Int32) |
Próbuje zapisać bieżącą wartość w formacie little-endian do danego zakresu. |
IBinaryNumber<UInt32>.AllBitsSet |
Pobiera wystąpienie typu binarnego, w którym ustawiono wszystkie bity. |
IBitwiseOperators<UInt32,UInt32,UInt32>.BitwiseAnd(UInt32, UInt32) |
Oblicza bitowe i z dwóch wartości. |
IBitwiseOperators<UInt32,UInt32,UInt32>.BitwiseOr(UInt32, UInt32) |
Oblicza bitowe lub z dwóch wartości. |
IBitwiseOperators<UInt32,UInt32,UInt32>.ExclusiveOr(UInt32, UInt32) |
Oblicza wyłącznie lub dwie wartości. |
IBitwiseOperators<UInt32,UInt32,UInt32>.OnesComplement(UInt32) |
Oblicza reprezentację tej wartości jako uzupełnienie. |
IComparable.CompareTo(Object) |
Porównuje to wystąpienie z określonym obiektem i zwraca wskazanie ich względnych wartości. |
IComparisonOperators<UInt32,UInt32,Boolean>.GreaterThan(UInt32, UInt32) |
Porównuje dwie wartości, aby określić, która wartość jest większa. |
IComparisonOperators<UInt32,UInt32,Boolean>.GreaterThanOrEqual(UInt32, UInt32) |
Porównuje dwie wartości, aby określić, która wartość jest większa lub równa. |
IComparisonOperators<UInt32,UInt32,Boolean>.LessThan(UInt32, UInt32) |
Porównuje dwie wartości, aby określić, która wartość jest mniejsza. |
IComparisonOperators<UInt32,UInt32,Boolean>.LessThanOrEqual(UInt32, UInt32) |
Porównuje dwie wartości, aby określić, które wartości są mniejsze lub równe. |
IConvertible.GetTypeCode() | |
IConvertible.ToBoolean(IFormatProvider) |
Aby uzyskać opis tego elementu członkowskiego, zobacz ToBoolean(IFormatProvider). |
IConvertible.ToByte(IFormatProvider) |
Aby uzyskać opis tego elementu członkowskiego, zobacz ToByte(IFormatProvider). |
IConvertible.ToChar(IFormatProvider) |
Aby uzyskać opis tego elementu członkowskiego, zobacz ToChar(IFormatProvider). |
IConvertible.ToDateTime(IFormatProvider) |
Ta konwersja nie jest obsługiwana. Próba użycia tej metody zgłasza błąd InvalidCastException. |
IConvertible.ToDecimal(IFormatProvider) |
Aby uzyskać opis tego elementu członkowskiego, zobacz ToDecimal(IFormatProvider). |
IConvertible.ToDouble(IFormatProvider) |
Aby uzyskać opis tego elementu członkowskiego, zobacz ToDouble(IFormatProvider). |
IConvertible.ToInt16(IFormatProvider) |
Aby uzyskać opis tego elementu członkowskiego, zobacz ToInt16(IFormatProvider). |
IConvertible.ToInt32(IFormatProvider) |
Aby uzyskać opis tego elementu członkowskiego, zobacz ToInt32(IFormatProvider). |
IConvertible.ToInt64(IFormatProvider) |
Aby uzyskać opis tego elementu członkowskiego, zobacz ToInt64(IFormatProvider). |
IConvertible.ToSByte(IFormatProvider) |
Aby uzyskać opis tego elementu członkowskiego, zobacz ToSByte(IFormatProvider). |
IConvertible.ToSingle(IFormatProvider) |
Aby uzyskać opis tego elementu członkowskiego, zobacz ToSingle(IFormatProvider). |
IConvertible.ToType(Type, IFormatProvider) |
Aby uzyskać opis tego elementu członkowskiego, zobacz ToType(Type, IFormatProvider). |
IConvertible.ToUInt16(IFormatProvider) |
Aby uzyskać opis tego elementu członkowskiego, zobacz ToUInt16(IFormatProvider). |
IConvertible.ToUInt32(IFormatProvider) |
Aby uzyskać opis tego elementu członkowskiego, zobacz ToUInt32(IFormatProvider). |
IConvertible.ToUInt64(IFormatProvider) |
Aby uzyskać opis tego elementu członkowskiego, zobacz ToUInt64(IFormatProvider). |
IDecrementOperators<UInt32>.CheckedDecrement(UInt32) |
Dekrementuje wartość. |
IDecrementOperators<UInt32>.Decrement(UInt32) |
Dekrementuje wartość. |
IDivisionOperators<UInt32,UInt32,UInt32>.Division(UInt32, UInt32) |
Dzieli jedną wartość przez inną, aby obliczyć ich iloraz. |
IEqualityOperators<UInt32,UInt32,Boolean>.Equality(UInt32, UInt32) |
Porównuje dwie wartości w celu określenia równości. |
IEqualityOperators<UInt32,UInt32,Boolean>.Inequality(UInt32, UInt32) |
Porównuje dwie wartości w celu określenia nierówności. |
IIncrementOperators<UInt32>.CheckedIncrement(UInt32) |
Zwiększa wartość. |
IIncrementOperators<UInt32>.Increment(UInt32) |
Zwiększa wartość. |
IMinMaxValue<UInt32>.MaxValue |
Pobiera maksymalną wartość bieżącego typu. |
IMinMaxValue<UInt32>.MinValue |
Pobiera minimalną wartość bieżącego typu. |
IModulusOperators<UInt32,UInt32,UInt32>.Modulus(UInt32, UInt32) |
Dzieli dwie wartości w celu obliczenia ich modulu lub reszty. |
IMultiplicativeIdentity<UInt32,UInt32>.MultiplicativeIdentity |
Pobiera tożsamość mnożenia bieżącego typu. |
IMultiplyOperators<UInt32,UInt32,UInt32>.CheckedMultiply(UInt32, UInt32) |
Mnoży dwie wartości w celu obliczenia ich produktu. |
IMultiplyOperators<UInt32,UInt32,UInt32>.Multiply(UInt32, UInt32) |
Mnoży dwie wartości w celu obliczenia ich produktu. |
INumber<UInt32>.CopySign(UInt32, UInt32) |
Kopiuje znak wartości do znaku innej wartości. |
INumber<UInt32>.MaxNumber(UInt32, UInt32) |
Porównuje dwie wartości do obliczeń, która jest większa i zwraca drugą wartość, jeśli dane wejściowe to |
INumber<UInt32>.MinNumber(UInt32, UInt32) |
Porównuje dwie wartości z obliczeniami, które są mniejsze i zwracają drugą wartość, jeśli dane wejściowe to |
INumberBase<UInt32>.Abs(UInt32) |
Oblicza wartość bezwzględną. |
INumberBase<UInt32>.IsCanonical(UInt32) |
Określa, czy wartość znajduje się w swojej reprezentacji kanonicznej. |
INumberBase<UInt32>.IsComplexNumber(UInt32) |
Określa, czy wartość reprezentuje liczbę zespolonej. |
INumberBase<UInt32>.IsFinite(UInt32) |
Określa, czy wartość jest skończona. |
INumberBase<UInt32>.IsImaginaryNumber(UInt32) |
Określa, czy wartość reprezentuje czystą wyimaginowaną liczbę. |
INumberBase<UInt32>.IsInfinity(UInt32) |
Określa, czy wartość jest nieskończona. |
INumberBase<UInt32>.IsInteger(UInt32) |
Określa, czy wartość reprezentuje liczbę całkowitą. |
INumberBase<UInt32>.IsNaN(UInt32) |
Określa, czy wartość to NaN. |
INumberBase<UInt32>.IsNegative(UInt32) |
Określa, czy wartość jest ujemna. |
INumberBase<UInt32>.IsNegativeInfinity(UInt32) |
Określa, czy wartość jest nieskończonością ujemną. |
INumberBase<UInt32>.IsNormal(UInt32) |
Określa, czy wartość jest normalna. |
INumberBase<UInt32>.IsPositive(UInt32) |
Określa, czy wartość jest dodatnia. |
INumberBase<UInt32>.IsPositiveInfinity(UInt32) |
Określa, czy wartość jest nieskończonością dodatnią. |
INumberBase<UInt32>.IsRealNumber(UInt32) |
Określa, czy wartość reprezentuje liczbę rzeczywistą. |
INumberBase<UInt32>.IsSubnormal(UInt32) |
Określa, czy wartość jest nienormalna. |
INumberBase<UInt32>.IsZero(UInt32) |
Określa, czy wartość ma wartość zero. |
INumberBase<UInt32>.MaxMagnitude(UInt32, UInt32) |
Porównuje dwie wartości do obliczeń, które są większe. |
INumberBase<UInt32>.MaxMagnitudeNumber(UInt32, UInt32) |
Porównuje dwie wartości do obliczeń, które mają większą wielkość i zwracają drugą wartość, jeśli dane wejściowe to |
INumberBase<UInt32>.MinMagnitude(UInt32, UInt32) |
Porównuje dwie wartości do obliczeń, które są mniejsze. |
INumberBase<UInt32>.MinMagnitudeNumber(UInt32, UInt32) |
Porównuje dwie wartości do obliczeń, które mają mniejszą wielkość i zwracają drugą wartość, jeśli dane wejściowe to |
INumberBase<UInt32>.One |
Pobiera wartość |
INumberBase<UInt32>.Radix |
Pobiera promień lub bazę dla typu . |
INumberBase<UInt32>.TryConvertFromChecked<TOther>(TOther, UInt32) |
Reprezentuje 32-bitową liczbę całkowitą bez znaku. |
INumberBase<UInt32>.TryConvertFromSaturating<TOther>(TOther, UInt32) |
Reprezentuje 32-bitową liczbę całkowitą bez znaku. |
INumberBase<UInt32>.TryConvertFromTruncating<TOther>(TOther, UInt32) |
Reprezentuje 32-bitową liczbę całkowitą bez znaku. |
INumberBase<UInt32>.TryConvertToChecked<TOther>(UInt32, TOther) |
Próbuje przekonwertować wystąpienie bieżącego typu na inny typ, zgłaszając wyjątek przepełnienia dla wszystkich wartości, które wykraczają poza dopuszczalny zakres bieżącego typu. |
INumberBase<UInt32>.TryConvertToSaturating<TOther>(UInt32, TOther) |
Próbuje przekonwertować wystąpienie bieżącego typu na inny typ, saturując wszystkie wartości, które wykraczają poza dopuszczalny zakres bieżącego typu. |
INumberBase<UInt32>.TryConvertToTruncating<TOther>(UInt32, TOther) |
Próbuje przekonwertować wystąpienie bieżącego typu na inny typ, obcinając wszystkie wartości, które wykraczają poza dopuszczalny zakres bieżącego typu. |
INumberBase<UInt32>.Zero |
Pobiera wartość |
IShiftOperators<UInt32,Int32,UInt32>.LeftShift(UInt32, Int32) |
Przesuwa wartość w lewo o daną kwotę. |
IShiftOperators<UInt32,Int32,UInt32>.RightShift(UInt32, Int32) |
Przesuwa wartość w prawo o daną kwotę. |
IShiftOperators<UInt32,Int32,UInt32>.UnsignedRightShift(UInt32, Int32) |
Przesuwa wartość w prawo o daną kwotę. |
ISubtractionOperators<UInt32,UInt32,UInt32>.CheckedSubtraction(UInt32, UInt32) |
Odejmuje dwie wartości, aby obliczyć ich różnicę. |
ISubtractionOperators<UInt32,UInt32,UInt32>.Subtraction(UInt32, UInt32) |
Odejmuje dwie wartości, aby obliczyć ich różnicę. |
IUnaryNegationOperators<UInt32,UInt32>.CheckedUnaryNegation(UInt32) |
Oblicza sprawdzoną jednoargumentową negację wartości. |
IUnaryNegationOperators<UInt32,UInt32>.UnaryNegation(UInt32) |
Oblicza jednoargumentowe negację wartości. |
IUnaryPlusOperators<UInt32,UInt32>.UnaryPlus(UInt32) |
Oblicza jednoargumentowy plus wartość. |
Dotyczy
Bezpieczeństwo wątkowe
Wszystkie elementy członkowskie tego typu są bezpieczne wątkowo. Elementy członkowskie, które na pierwszy rzut oka modyfikują stan wystąpienia, w rzeczywistości zwracają nowe wystąpienie zainicjowane z nową wartością. Podobnie jak w przypadku innych typów odczytywanie i zapisywanie w udostępnionej zmiennej, która zawiera wystąpienie tego typu, musi być chronione przez blokadę w celu zagwarantowania bezpieczeństwa wątków.
Zobacz też
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla