Compartilhar via


nuint Estrutura

Definição

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

[System.Serializable]
public struct nuint : IComparable, IComparable<nuint>, IConvertible, IEquatable<nuint>, IFormattable
type nuint = struct
    interface IFormattable
    interface IConvertible
Herança
nuint
Atributos
Implementações

Comentários

Esse tipo de dados é um valor inteiro sem sinal que usa o tamanho natural da arquitetura do host para armazenar seu valor.  Em sistemas de 32 bits, isso usa T:System.UInt32 para armazenamento e em sistemas de 64 bits ele usa T:System.UInt64 para armazenamento.

Como otimização, o compilador e o runtime têm conhecimento especial desse tipo de dados, portanto, embora não haja um conjunto dedicado de instruções il para lidar com valores inteiros sem sinal de tamanho variável, o runtime transformará os usos de nuint em sua representação subjacente nativa de forma transparente.

Esse tipo é definido em minúsculas porque faz com que ele se sinta como um tipo de dados C# quando usado no código-fonte C#.

Construtores

nuint(UInt32)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

nuint(UInt64)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Campos

MaxValue

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

MinValue

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Size

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Métodos

CompareTo(nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

CompareTo(Object)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

CopyArray(IntPtr, nuint[], Int32, Int32)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

CopyArray(nuint[], Int32, IntPtr, Int32)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Equals(nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Equals(Object)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

GetHashCode()

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

GetTypeCode()

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Parse(String)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Parse(String, IFormatProvider)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Parse(String, NumberStyles)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Parse(String, NumberStyles, IFormatProvider)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

ToString()

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

ToString(IFormatProvider)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

ToString(String)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

ToString(String, IFormatProvider)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

TryParse(String, nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

TryParse(String, NumberStyles, IFormatProvider, nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Operadores

Addition(nuint, nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

BitwiseAnd(nuint, nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

BitwiseOr(nuint, nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Decrement(nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Division(nuint, nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Equality(nuint, nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

ExclusiveOr(nuint, nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Explicit(Decimal to nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Explicit(Double to nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Explicit(Int16 to nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Explicit(Int32 to nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Explicit(Int64 to nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Explicit(IntPtr to nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Explicit(nfloat to nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Explicit(nuint to Byte)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Explicit(nuint to Char)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Explicit(nuint to Int16)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Explicit(nuint to Int32)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Explicit(nuint to Int64)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Explicit(nuint to IntPtr)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Explicit(nuint to SByte)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Explicit(nuint to UInt16)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Explicit(nuint to UInt32)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Explicit(SByte to nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Explicit(Single to nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Explicit(UInt64 to nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

GreaterThan(nuint, nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

GreaterThanOrEqual(nuint, nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Implicit(Byte to nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Implicit(Char to nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Implicit(nuint to Decimal)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Implicit(nuint to Double)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Implicit(nuint to nfloat)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Implicit(nuint to Single)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Implicit(nuint to UInt64)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Implicit(UInt16 to nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Implicit(UInt32 to nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Increment(nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Inequality(nuint, nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

LeftShift(nuint, Int32)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

LessThan(nuint, nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

LessThanOrEqual(nuint, nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Modulus(nuint, nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Multiply(nuint, nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

OnesComplement(nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

RightShift(nuint, Int32)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Subtraction(nuint, nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

UnaryPlus(nuint)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Implantações explícitas de interface

IConvertible.ToBoolean(IFormatProvider)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

IConvertible.ToByte(IFormatProvider)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

IConvertible.ToChar(IFormatProvider)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

IConvertible.ToDateTime(IFormatProvider)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

IConvertible.ToDecimal(IFormatProvider)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

IConvertible.ToDouble(IFormatProvider)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

IConvertible.ToInt16(IFormatProvider)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

IConvertible.ToInt32(IFormatProvider)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

IConvertible.ToInt64(IFormatProvider)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

IConvertible.ToSByte(IFormatProvider)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

IConvertible.ToSingle(IFormatProvider)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

IConvertible.ToType(Type, IFormatProvider)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

IConvertible.ToUInt16(IFormatProvider)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

IConvertible.ToUInt32(IFormatProvider)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

IConvertible.ToUInt64(IFormatProvider)

Inteiro nativo sem sinal (32 bits em plataformas de 32 bits e 64 bits em plataformas de 64 bits)

Aplica-se a