nuint Struktur
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen)
[System.Serializable]
public struct nuint : IComparable, IComparable<nuint>, IConvertible, IEquatable<nuint>, IFormattable
type nuint = struct
interface IFormattable
interface IConvertible
- Vererbung
-
nuint
- Attribute
- Implementiert
Hinweise
Dieser Datentyp ist ein ganzzahliger Wert ohne Vorzeichen, der die natürliche Größe der Hostarchitektur verwendet, um den Wert zu speichern. Auf 32-Bit-Systemen wird T:System.UInt32 als Speicher und auf 64-Bit-Systemen T:System.UInt64 als Speicher verwendet.
Als Optimierung verfügen der Compiler und die Runtime über spezielle Kenntnisse über diesen Datentyp. Es gibt also keinen dedizierten Satz von IL-Anweisungen zum Behandeln von ganzzahligen Werten mit variabler Größe ohne Vorzeichen, die Laufzeit transformiert die Verwendung von Nuint transparent in ihre native zugrunde liegende Darstellung.
Dieser Typ wird in Kleinbuchstaben definiert, da er sich wie ein C#-Datentyp anfühlt, wenn er im C#-Quellcode verwendet wird.
Konstruktoren
nuint(UInt32) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
nuint(UInt64) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Felder
MaxValue |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
MinValue |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Size |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Methoden
CompareTo(nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
CompareTo(Object) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
CopyArray(IntPtr, nuint[], Int32, Int32) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
CopyArray(nuint[], Int32, IntPtr, Int32) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Equals(nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Equals(Object) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
GetHashCode() |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
GetTypeCode() |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Parse(String, IFormatProvider) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Parse(String, NumberStyles, IFormatProvider) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Parse(String, NumberStyles) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Parse(String) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
ToString() |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
ToString(IFormatProvider) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
ToString(String, IFormatProvider) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
ToString(String) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
TryParse(String, nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
TryParse(String, NumberStyles, IFormatProvider, nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Operatoren
Addition(nuint, nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
BitwiseAnd(nuint, nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
BitwiseOr(nuint, nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Decrement(nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Division(nuint, nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Equality(nuint, nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
ExclusiveOr(nuint, nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Explicit(Decimal to nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Explicit(Double to nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Explicit(Int16 to nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Explicit(Int32 to nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Explicit(Int64 to nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Explicit(IntPtr to nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Explicit(nfloat to nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Explicit(nuint to Byte) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Explicit(nuint to Char) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Explicit(nuint to Int16) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Explicit(nuint to Int32) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Explicit(nuint to Int64) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Explicit(nuint to IntPtr) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Explicit(nuint to SByte) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Explicit(nuint to UInt16) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Explicit(nuint to UInt32) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Explicit(SByte to nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Explicit(Single to nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Explicit(UInt64 to nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
GreaterThan(nuint, nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
GreaterThanOrEqual(nuint, nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Implicit(Byte to nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Implicit(Char to nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Implicit(nuint to Decimal) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Implicit(nuint to Double) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Implicit(nuint to nfloat) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Implicit(nuint to Single) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Implicit(nuint to UInt64) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Implicit(UInt16 to nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Implicit(UInt32 to nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Increment(nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Inequality(nuint, nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
LeftShift(nuint, Int32) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
LessThan(nuint, nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
LessThanOrEqual(nuint, nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Modulus(nuint, nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Multiply(nuint, nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
OnesComplement(nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
RightShift(nuint, Int32) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Subtraction(nuint, nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
UnaryPlus(nuint) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
Explizite Schnittstellenimplementierungen
IConvertible.ToBoolean(IFormatProvider) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
IConvertible.ToByte(IFormatProvider) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
IConvertible.ToChar(IFormatProvider) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
IConvertible.ToDateTime(IFormatProvider) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
IConvertible.ToDecimal(IFormatProvider) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
IConvertible.ToDouble(IFormatProvider) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
IConvertible.ToInt16(IFormatProvider) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
IConvertible.ToInt32(IFormatProvider) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
IConvertible.ToInt64(IFormatProvider) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
IConvertible.ToSByte(IFormatProvider) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
IConvertible.ToSingle(IFormatProvider) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
IConvertible.ToType(Type, IFormatProvider) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
IConvertible.ToUInt16(IFormatProvider) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
IConvertible.ToUInt32(IFormatProvider) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |
IConvertible.ToUInt64(IFormatProvider) |
Native ganze Zahl ohne Vorzeichen (32-Bit auf 32-Bit-Plattformen und 64-Bit auf 64-Bit-Plattformen) |