UInt64 Estructura

Definición

Importante

Esta API no es conforme a CLS.

Representa un entero de 64 bits sin signo.

public value class System::UInt64 : IComparable, IComparable<System::UInt64>, IConvertible, IEquatable<System::UInt64>, IFormattable
public value class System::UInt64 : IComparable, IComparable<System::UInt64>, IConvertible, IEquatable<System::UInt64>, ISpanFormattable
public value class System::UInt64 : IComparable<System::UInt64>, IConvertible, IEquatable<System::UInt64>, IParsable<System::UInt64>, ISpanParsable<System::UInt64>, System::Numerics::IAdditionOperators<System::UInt64, System::UInt64, System::UInt64>, System::Numerics::IAdditiveIdentity<System::UInt64, System::UInt64>, System::Numerics::IBinaryInteger<System::UInt64>, System::Numerics::IBinaryNumber<System::UInt64>, System::Numerics::IBitwiseOperators<System::UInt64, System::UInt64, System::UInt64>, System::Numerics::IComparisonOperators<System::UInt64, System::UInt64, bool>, System::Numerics::IDecrementOperators<System::UInt64>, System::Numerics::IDivisionOperators<System::UInt64, System::UInt64, System::UInt64>, System::Numerics::IEqualityOperators<System::UInt64, System::UInt64, bool>, System::Numerics::IIncrementOperators<System::UInt64>, System::Numerics::IMinMaxValue<System::UInt64>, System::Numerics::IModulusOperators<System::UInt64, System::UInt64, System::UInt64>, System::Numerics::IMultiplicativeIdentity<System::UInt64, System::UInt64>, System::Numerics::IMultiplyOperators<System::UInt64, System::UInt64, System::UInt64>, System::Numerics::INumber<System::UInt64>, System::Numerics::INumberBase<System::UInt64>, System::Numerics::IShiftOperators<System::UInt64, int, System::UInt64>, System::Numerics::ISubtractionOperators<System::UInt64, System::UInt64, System::UInt64>, System::Numerics::IUnaryNegationOperators<System::UInt64, System::UInt64>, System::Numerics::IUnaryPlusOperators<System::UInt64, System::UInt64>, System::Numerics::IUnsignedNumber<System::UInt64>
public value class System::UInt64 : IComparable<System::UInt64>, IConvertible, IEquatable<System::UInt64>, IParsable<System::UInt64>, ISpanParsable<System::UInt64>, IUtf8SpanParsable<System::UInt64>, System::Numerics::IAdditionOperators<System::UInt64, System::UInt64, System::UInt64>, System::Numerics::IAdditiveIdentity<System::UInt64, System::UInt64>, System::Numerics::IBinaryInteger<System::UInt64>, System::Numerics::IBinaryNumber<System::UInt64>, System::Numerics::IBitwiseOperators<System::UInt64, System::UInt64, System::UInt64>, System::Numerics::IComparisonOperators<System::UInt64, System::UInt64, bool>, System::Numerics::IDecrementOperators<System::UInt64>, System::Numerics::IDivisionOperators<System::UInt64, System::UInt64, System::UInt64>, System::Numerics::IEqualityOperators<System::UInt64, System::UInt64, bool>, System::Numerics::IIncrementOperators<System::UInt64>, System::Numerics::IMinMaxValue<System::UInt64>, System::Numerics::IModulusOperators<System::UInt64, System::UInt64, System::UInt64>, System::Numerics::IMultiplicativeIdentity<System::UInt64, System::UInt64>, System::Numerics::IMultiplyOperators<System::UInt64, System::UInt64, System::UInt64>, System::Numerics::INumber<System::UInt64>, System::Numerics::INumberBase<System::UInt64>, System::Numerics::IShiftOperators<System::UInt64, int, System::UInt64>, System::Numerics::ISubtractionOperators<System::UInt64, System::UInt64, System::UInt64>, System::Numerics::IUnaryNegationOperators<System::UInt64, System::UInt64>, System::Numerics::IUnaryPlusOperators<System::UInt64, System::UInt64>, System::Numerics::IUnsignedNumber<System::UInt64>
public value class System::UInt64 : IComparable, IConvertible, IFormattable
public value class System::UInt64 : IComparable, IComparable<System::UInt64>, IEquatable<System::UInt64>, IFormattable
[System.CLSCompliant(false)]
public struct UInt64 : IComparable, IComparable<ulong>, IConvertible, IEquatable<ulong>, IFormattable
[System.CLSCompliant(false)]
public readonly struct UInt64 : IComparable, IComparable<ulong>, IConvertible, IEquatable<ulong>, IFormattable
[System.CLSCompliant(false)]
public readonly struct UInt64 : IComparable, IComparable<ulong>, IConvertible, IEquatable<ulong>, ISpanFormattable
[System.CLSCompliant(false)]
public readonly struct UInt64 : IComparable<ulong>, IConvertible, IEquatable<ulong>, IParsable<ulong>, ISpanParsable<ulong>, System.Numerics.IAdditionOperators<ulong,ulong,ulong>, System.Numerics.IAdditiveIdentity<ulong,ulong>, System.Numerics.IBinaryInteger<ulong>, System.Numerics.IBinaryNumber<ulong>, System.Numerics.IBitwiseOperators<ulong,ulong,ulong>, System.Numerics.IComparisonOperators<ulong,ulong,bool>, System.Numerics.IDecrementOperators<ulong>, System.Numerics.IDivisionOperators<ulong,ulong,ulong>, System.Numerics.IEqualityOperators<ulong,ulong,bool>, System.Numerics.IIncrementOperators<ulong>, System.Numerics.IMinMaxValue<ulong>, System.Numerics.IModulusOperators<ulong,ulong,ulong>, System.Numerics.IMultiplicativeIdentity<ulong,ulong>, System.Numerics.IMultiplyOperators<ulong,ulong,ulong>, System.Numerics.INumber<ulong>, System.Numerics.INumberBase<ulong>, System.Numerics.IShiftOperators<ulong,int,ulong>, System.Numerics.ISubtractionOperators<ulong,ulong,ulong>, System.Numerics.IUnaryNegationOperators<ulong,ulong>, System.Numerics.IUnaryPlusOperators<ulong,ulong>, System.Numerics.IUnsignedNumber<ulong>
[System.CLSCompliant(false)]
public readonly struct UInt64 : IComparable<ulong>, IConvertible, IEquatable<ulong>, IParsable<ulong>, ISpanParsable<ulong>, IUtf8SpanParsable<ulong>, System.Numerics.IAdditionOperators<ulong,ulong,ulong>, System.Numerics.IAdditiveIdentity<ulong,ulong>, System.Numerics.IBinaryInteger<ulong>, System.Numerics.IBinaryNumber<ulong>, System.Numerics.IBitwiseOperators<ulong,ulong,ulong>, System.Numerics.IComparisonOperators<ulong,ulong,bool>, System.Numerics.IDecrementOperators<ulong>, System.Numerics.IDivisionOperators<ulong,ulong,ulong>, System.Numerics.IEqualityOperators<ulong,ulong,bool>, System.Numerics.IIncrementOperators<ulong>, System.Numerics.IMinMaxValue<ulong>, System.Numerics.IModulusOperators<ulong,ulong,ulong>, System.Numerics.IMultiplicativeIdentity<ulong,ulong>, System.Numerics.IMultiplyOperators<ulong,ulong,ulong>, System.Numerics.INumber<ulong>, System.Numerics.INumberBase<ulong>, System.Numerics.IShiftOperators<ulong,int,ulong>, System.Numerics.ISubtractionOperators<ulong,ulong,ulong>, System.Numerics.IUnaryNegationOperators<ulong,ulong>, System.Numerics.IUnaryPlusOperators<ulong,ulong>, System.Numerics.IUnsignedNumber<ulong>
[System.CLSCompliant(false)]
[System.Serializable]
public struct UInt64 : IComparable, IConvertible, IFormattable
[System.CLSCompliant(false)]
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public struct UInt64 : IComparable, IComparable<ulong>, IConvertible, IEquatable<ulong>, IFormattable
[System.CLSCompliant(false)]
public struct UInt64 : IComparable, IComparable<ulong>, IEquatable<ulong>, IFormattable
[<System.CLSCompliant(false)>]
type uint64 = struct
    interface IConvertible
    interface IFormattable
[<System.CLSCompliant(false)>]
type uint64 = struct
    interface IConvertible
    interface ISpanFormattable
    interface IFormattable
[<System.CLSCompliant(false)>]
type uint64 = struct
    interface IConvertible
    interface IFormattable
    interface IParsable<uint64>
    interface ISpanFormattable
    interface ISpanParsable<uint64>
    interface IAdditionOperators<uint64, uint64, uint64>
    interface IAdditiveIdentity<uint64, uint64>
    interface IBinaryInteger<uint64>
    interface IBinaryNumber<uint64>
    interface IBitwiseOperators<uint64, uint64, uint64>
    interface IComparisonOperators<uint64, uint64, bool>
    interface IEqualityOperators<uint64, uint64, bool>
    interface IDecrementOperators<uint64>
    interface IDivisionOperators<uint64, uint64, uint64>
    interface IIncrementOperators<uint64>
    interface IModulusOperators<uint64, uint64, uint64>
    interface IMultiplicativeIdentity<uint64, uint64>
    interface IMultiplyOperators<uint64, uint64, uint64>
    interface INumber<uint64>
    interface INumberBase<uint64>
    interface ISubtractionOperators<uint64, uint64, uint64>
    interface IUnaryNegationOperators<uint64, uint64>
    interface IUnaryPlusOperators<uint64, uint64>
    interface IShiftOperators<uint64, int, uint64>
    interface IMinMaxValue<uint64>
    interface IUnsignedNumber<uint64>
[<System.CLSCompliant(false)>]
type uint64 = struct
    interface IConvertible
    interface IFormattable
    interface IParsable<uint64>
    interface ISpanFormattable
    interface ISpanParsable<uint64>
    interface IAdditionOperators<uint64, uint64, uint64>
    interface IAdditiveIdentity<uint64, uint64>
    interface IBinaryInteger<uint64>
    interface IBinaryNumber<uint64>
    interface IBitwiseOperators<uint64, uint64, uint64>
    interface IComparisonOperators<uint64, uint64, bool>
    interface IEqualityOperators<uint64, uint64, bool>
    interface IDecrementOperators<uint64>
    interface IDivisionOperators<uint64, uint64, uint64>
    interface IIncrementOperators<uint64>
    interface IModulusOperators<uint64, uint64, uint64>
    interface IMultiplicativeIdentity<uint64, uint64>
    interface IMultiplyOperators<uint64, uint64, uint64>
    interface INumber<uint64>
    interface INumberBase<uint64>
    interface ISubtractionOperators<uint64, uint64, uint64>
    interface IUnaryNegationOperators<uint64, uint64>
    interface IUnaryPlusOperators<uint64, uint64>
    interface IUtf8SpanFormattable
    interface IUtf8SpanParsable<uint64>
    interface IShiftOperators<uint64, int, uint64>
    interface IMinMaxValue<uint64>
    interface IUnsignedNumber<uint64>
[<System.CLSCompliant(false)>]
type uint64 = struct
    interface IConvertible
    interface IFormattable
    interface IParsable<uint64>
    interface ISpanFormattable
    interface ISpanParsable<uint64>
    interface IUtf8SpanFormattable
    interface IUtf8SpanParsable<uint64>
    interface IAdditionOperators<uint64, uint64, uint64>
    interface IAdditiveIdentity<uint64, uint64>
    interface IBinaryInteger<uint64>
    interface IBinaryNumber<uint64>
    interface IBitwiseOperators<uint64, uint64, uint64>
    interface IComparisonOperators<uint64, uint64, bool>
    interface IEqualityOperators<uint64, uint64, bool>
    interface IDecrementOperators<uint64>
    interface IDivisionOperators<uint64, uint64, uint64>
    interface IIncrementOperators<uint64>
    interface IModulusOperators<uint64, uint64, uint64>
    interface IMultiplicativeIdentity<uint64, uint64>
    interface IMultiplyOperators<uint64, uint64, uint64>
    interface INumber<uint64>
    interface INumberBase<uint64>
    interface ISubtractionOperators<uint64, uint64, uint64>
    interface IUnaryNegationOperators<uint64, uint64>
    interface IUnaryPlusOperators<uint64, uint64>
    interface IShiftOperators<uint64, int, uint64>
    interface IMinMaxValue<uint64>
    interface IUnsignedNumber<uint64>
[<System.CLSCompliant(false)>]
[<System.Serializable>]
type uint64 = struct
    interface IFormattable
    interface IConvertible
[<System.CLSCompliant(false)>]
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type uint64 = struct
    interface IFormattable
    interface IConvertible
[<System.CLSCompliant(false)>]
type uint64 = struct
    interface IFormattable
Public Structure UInt64
Implements IComparable, IComparable(Of ULong), IConvertible, IEquatable(Of ULong), IFormattable
Public Structure UInt64
Implements IComparable, IComparable(Of ULong), IConvertible, IEquatable(Of ULong), ISpanFormattable
Public Structure UInt64
Implements IAdditionOperators(Of ULong, ULong, ULong), IAdditiveIdentity(Of ULong, ULong), IBinaryInteger(Of ULong), IBinaryNumber(Of ULong), IBitwiseOperators(Of ULong, ULong, ULong), IComparable(Of ULong), IComparisonOperators(Of ULong, ULong, Boolean), IConvertible, IDecrementOperators(Of ULong), IDivisionOperators(Of ULong, ULong, ULong), IEqualityOperators(Of ULong, ULong, Boolean), IEquatable(Of ULong), IIncrementOperators(Of ULong), IMinMaxValue(Of ULong), IModulusOperators(Of ULong, ULong, ULong), IMultiplicativeIdentity(Of ULong, ULong), IMultiplyOperators(Of ULong, ULong, ULong), INumber(Of ULong), INumberBase(Of ULong), IParsable(Of ULong), IShiftOperators(Of ULong, Integer, ULong), ISpanParsable(Of ULong), ISubtractionOperators(Of ULong, ULong, ULong), IUnaryNegationOperators(Of ULong, ULong), IUnaryPlusOperators(Of ULong, ULong), IUnsignedNumber(Of ULong)
Public Structure UInt64
Implements IAdditionOperators(Of ULong, ULong, ULong), IAdditiveIdentity(Of ULong, ULong), IBinaryInteger(Of ULong), IBinaryNumber(Of ULong), IBitwiseOperators(Of ULong, ULong, ULong), IComparable(Of ULong), IComparisonOperators(Of ULong, ULong, Boolean), IConvertible, IDecrementOperators(Of ULong), IDivisionOperators(Of ULong, ULong, ULong), IEqualityOperators(Of ULong, ULong, Boolean), IEquatable(Of ULong), IIncrementOperators(Of ULong), IMinMaxValue(Of ULong), IModulusOperators(Of ULong, ULong, ULong), IMultiplicativeIdentity(Of ULong, ULong), IMultiplyOperators(Of ULong, ULong, ULong), INumber(Of ULong), INumberBase(Of ULong), IParsable(Of ULong), IShiftOperators(Of ULong, Integer, ULong), ISpanParsable(Of ULong), ISubtractionOperators(Of ULong, ULong, ULong), IUnaryNegationOperators(Of ULong, ULong), IUnaryPlusOperators(Of ULong, ULong), IUnsignedNumber(Of ULong), IUtf8SpanParsable(Of ULong)
Public Structure UInt64
Implements IComparable, IConvertible, IFormattable
Public Structure UInt64
Implements IComparable, IComparable(Of ULong), IEquatable(Of ULong), IFormattable
Herencia
UInt64
Atributos
Implementaciones
IComparable IComparable<UInt64> IConvertible IEquatable<UInt64> IFormattable ISpanFormattable IComparable<TSelf> IEquatable<TSelf> IParsable<UInt64> IParsable<TSelf> ISpanParsable<UInt64> ISpanParsable<TSelf> IAdditionOperators<UInt64,UInt64,UInt64> IAdditionOperators<TSelf,TSelf,TSelf> IAdditiveIdentity<UInt64,UInt64> IAdditiveIdentity<TSelf,TSelf> IBinaryInteger<UInt64> IBinaryNumber<UInt64> IBinaryNumber<TSelf> IBitwiseOperators<UInt64,UInt64,UInt64> IBitwiseOperators<TSelf,TSelf,TSelf> IComparisonOperators<UInt64,UInt64,Boolean> IComparisonOperators<TSelf,TSelf,Boolean> IDecrementOperators<UInt64> IDecrementOperators<TSelf> IDivisionOperators<UInt64,UInt64,UInt64> IDivisionOperators<TSelf,TSelf,TSelf> IEqualityOperators<UInt64,UInt64,Boolean> IEqualityOperators<TSelf,TOther,TResult> IEqualityOperators<TSelf,TSelf,Boolean> IIncrementOperators<UInt64> IIncrementOperators<TSelf> IMinMaxValue<UInt64> IModulusOperators<UInt64,UInt64,UInt64> IModulusOperators<TSelf,TSelf,TSelf> IMultiplicativeIdentity<UInt64,UInt64> IMultiplicativeIdentity<TSelf,TSelf> IMultiplyOperators<UInt64,UInt64,UInt64> IMultiplyOperators<TSelf,TSelf,TSelf> INumber<UInt64> INumber<TSelf> INumberBase<UInt64> INumberBase<TSelf> IShiftOperators<UInt64,Int32,UInt64> IShiftOperators<TSelf,Int32,TSelf> ISubtractionOperators<UInt64,UInt64,UInt64> ISubtractionOperators<TSelf,TSelf,TSelf> IUnaryNegationOperators<UInt64,UInt64> IUnaryNegationOperators<TSelf,TSelf> IUnaryPlusOperators<UInt64,UInt64> IUnaryPlusOperators<TSelf,TSelf> IUnsignedNumber<UInt64> IUtf8SpanFormattable IUtf8SpanParsable<UInt64> IUtf8SpanParsable<TSelf>

Comentarios

El UInt64 tipo de valor representa enteros sin signo con valores comprendidos entre 0 y 18 446 744 073 709 551 615.

Importante

El UInt64 tipo no es conforme a CLS. El tipo alternativo conforme a CLS es Decimal. Int64 se puede usar en su lugar para reemplazar un UInt64 valor que va de cero a MaxValue. Para obtener más información sobre el cumplimiento de CLS, vea Language Independence and Language-Independent Components.

UInt64 proporciona métodos para comparar instancias de este tipo, convertir el valor de una instancia en su representación de cadena y convertir la representación de cadena de un número en una instancia de este tipo.

Campos

MaxValue

Representa el mayor valor posible de UInt64. Este campo es constante.

MinValue

Representa el menor valor posible de UInt64. Este campo es constante.

Métodos

Clamp(UInt64, UInt64, UInt64)

Fija un valor en un valor mínimo inclusivo y máximo.

CompareTo(Object)

Compara esta instancia con un objeto especificado y devuelve una indicación de los valores relativos.

CompareTo(UInt64)

Compara esta instancia con un entero de 64 bits sin signo y devuelve una indicación de los valores relativos.

CreateChecked<TOther>(TOther)

Crea una instancia del tipo actual a partir de un valor, iniciando una excepción de desbordamiento para los valores que se encuentran fuera del intervalo que se puede representar del tipo actual.

CreateSaturating<TOther>(TOther)

Crea una instancia del tipo actual a partir de un valor, saturando los valores que se encuentran fuera del intervalo representable del tipo actual.

CreateTruncating<TOther>(TOther)

Crea una instancia del tipo actual a partir de un valor, truncando los valores que se encuentran fuera del intervalo que se puede representar del tipo actual.

DivRem(UInt64, UInt64)

Calcula el cociente y el resto de dos valores.

Equals(Object)

Devuelve un valor que indica si esta instancia equivale a un objeto especificado.

Equals(UInt64)

Devuelve un valor que indica si esta instancia equivale a un valor de UInt64 especificado.

GetHashCode()

Devuelve el código hash de esta instancia.

GetTypeCode()

Devuelve el TypeCode para el tipo de valor UInt64.

IsEvenInteger(UInt64)

Determina si un valor representa un número entero par.

IsOddInteger(UInt64)

Determina si un valor representa un número entero impar.

IsPow2(UInt64)

Determina si un valor es una potencia de dos.

LeadingZeroCount(UInt64)

Calcula el número de ceros a la izquierda en un valor.

Log2(UInt64)

Calcula el registro2 de un valor.

Max(UInt64, UInt64)

Compara dos valores con el proceso, que es mayor.

Min(UInt64, UInt64)

Compara dos valores con el proceso, que es menor.

Parse(ReadOnlySpan<Byte>, IFormatProvider)

Analiza un intervalo de caracteres UTF-8 en un valor.

Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider)

Analiza un intervalo de caracteres UTF-8 en un valor.

Parse(ReadOnlySpan<Char>, IFormatProvider)

Analiza un intervalo de caracteres en un valor.

Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)

Convierte la representación de intervalo de un número con el estilo y el formato específico de la referencia cultural que se hayan especificado en el entero sin signo de 64 bits equivalente.

Parse(String)

Convierte la representación en forma de cadena de un número en el entero de 64 bits sin signo equivalente.

Parse(String, IFormatProvider)

Convierte la representación en forma de cadena de un número con el formato específico de la referencia cultural que se haya especificado en el entero de 64 bits sin signo equivalente.

Parse(String, NumberStyles)

Convierte la representación en forma de cadena de un número del estilo especificado en el entero de 64 bits sin signo equivalente.

Parse(String, NumberStyles, IFormatProvider)

Convierte la representación en forma de cadena de un número con el estilo y el formato específicos de la referencia cultural que se hayan especificado en el entero de 64 bits sin signo equivalente.

PopCount(UInt64)

Calcula el número de bits establecidos en un valor.

RotateLeft(UInt64, Int32)

Gira un valor de izquierda por una cantidad determinada.

RotateRight(UInt64, Int32)

Gira un valor a la derecha por una cantidad determinada.

Sign(UInt64)

Calcula el signo de un valor.

ToString()

Convierte el valor numérico de esta instancia en la representación de cadena equivalente.

ToString(IFormatProvider)

Convierte el valor numérico de esta instancia en la representación de cadena equivalente usando la información de formato específica de la referencia cultural especificada.

ToString(String)

Convierte el valor numérico de esta instancia en la representación de cadena equivalente usando el formato especificado.

ToString(String, IFormatProvider)

Convierte el valor numérico de esta instancia en su representación de cadena equivalente mediante el formato y la información de formato específica de la referencia cultural que se especificaran.

TrailingZeroCount(UInt64)

Calcula el número de ceros finales en un valor.

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

Intenta dar formato al valor de la instancia actual como UTF-8 en el intervalo de bytes proporcionado.

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

Intenta dar formato al valor de la instancia del número largo sin signo actual en el intervalo de caracteres proporcionado.

TryParse(ReadOnlySpan<Byte>, IFormatProvider, UInt64)

Intenta analizar un intervalo de caracteres UTF-8 en un valor.

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

Intenta analizar un intervalo de caracteres UTF-8 en un valor.

TryParse(ReadOnlySpan<Byte>, UInt64)

Intenta convertir un intervalo de caracteres UTF-8 que contiene la representación de cadena de un número en su entero de 64 bits sin signo equivalente.

TryParse(ReadOnlySpan<Char>, IFormatProvider, UInt64)

Intenta analizar un intervalo de caracteres en un valor.

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

Intenta convertir la representación de intervalo de un número en el estilo y el formato específico de la referencia cultural que se hayan especificado en el entero sin signo de 64 bits equivalente. Un valor devuelto indica si la conversión se realizó correctamente o si se produjeron errores.

TryParse(ReadOnlySpan<Char>, UInt64)

Intenta convertir la representación de intervalo de un número en el entero sin signo de 64 bits equivalente. Un valor devuelto indica si la conversión se realizó correctamente o si se produjeron errores.

TryParse(String, IFormatProvider, UInt64)

Intenta analizar una cadena en un valor.

TryParse(String, NumberStyles, IFormatProvider, UInt64)

Intenta convertir la representación de cadena de un número en el estilo y en el formato específicos de la referencia cultural que se hayan indicado en el entero de 64 bits sin signo equivalente. Un valor devuelto indica si la conversión se realizó correctamente o si se produjeron errores.

TryParse(String, UInt64)

Intenta convertir la representación de cadena de un número en el entero de 64 bits sin signo equivalente. Un valor devuelto indica si la conversión se realizó correctamente o si se produjeron errores.

Implementaciones de interfaz explícitas

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

Agrega dos valores juntos para calcular su suma.

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

Agrega dos valores juntos para calcular su suma.

IAdditiveIdentity<UInt64,UInt64>.AdditiveIdentity

Obtiene la identidad de aditivo del tipo actual.

IBinaryInteger<UInt64>.GetByteCount()

Obtiene el número de bytes que se escribirán como parte de TryWriteLittleEndian(Span<Byte>, Int32).

IBinaryInteger<UInt64>.GetShortestBitLength()

Obtiene la longitud, en bits, de la representación complementaria de dos más corta del valor actual.

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

Representa un entero de 64 bits sin signo.

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

Representa un entero de 64 bits sin signo.

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

Intenta escribir el valor actual, en formato big-endian, en un intervalo determinado.

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

Intenta escribir el valor actual, en formato little-endian, en un intervalo determinado.

IBinaryNumber<UInt64>.AllBitsSet

Obtiene una instancia del tipo binario en el que se establecen todos los bits.

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

Calcula el bit a bit y de dos valores.

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

Calcula el bit a bit o de dos valores.

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

Calcula el valor exclusivo o de dos valores.

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

Calcula la representación del complemento uno de un valor determinado.

IComparable.CompareTo(Object)

Compara esta instancia con un objeto especificado y devuelve una indicación de los valores relativos.

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

Compara dos valores para determinar cuál es mayor.

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

Compara dos valores para determinar cuál es mayor o igual.

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

Compara dos valores para determinar cuál es menor.

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

Compara dos valores para determinar cuál es menor o igual.

IConvertible.GetTypeCode()

Devuelve el TypeCode para el tipo de valor UInt64.

IConvertible.ToBoolean(IFormatProvider)

Para obtener una descripción de este miembro, vea ToBoolean(IFormatProvider).

IConvertible.ToByte(IFormatProvider)

Para obtener una descripción de este miembro, vea ToByte(IFormatProvider).

IConvertible.ToChar(IFormatProvider)

Para obtener una descripción de este miembro, vea ToChar(IFormatProvider).

IConvertible.ToDateTime(IFormatProvider)

No se admite esta conversión. Cualquier intento de usar este método produce una excepción InvalidCastException.

IConvertible.ToDecimal(IFormatProvider)

Para obtener una descripción de este miembro, vea ToDecimal(IFormatProvider).

IConvertible.ToDouble(IFormatProvider)

Para obtener una descripción de este miembro, vea ToDouble(IFormatProvider).

IConvertible.ToInt16(IFormatProvider)

Para obtener una descripción de este miembro, vea ToInt16(IFormatProvider).

IConvertible.ToInt32(IFormatProvider)

Para obtener una descripción de este miembro, vea ToInt32(IFormatProvider).

IConvertible.ToInt64(IFormatProvider)

Para obtener una descripción de este miembro, vea ToInt64(IFormatProvider).

IConvertible.ToSByte(IFormatProvider)

Para obtener una descripción de este miembro, vea ToSByte(IFormatProvider).

IConvertible.ToSingle(IFormatProvider)

Para obtener una descripción de este miembro, vea ToSingle(IFormatProvider).

IConvertible.ToType(Type, IFormatProvider)

Para obtener una descripción de este miembro, vea ToType(Type, IFormatProvider).

IConvertible.ToUInt16(IFormatProvider)

Para obtener una descripción de este miembro, vea ToUInt16(IFormatProvider).

IConvertible.ToUInt32(IFormatProvider)

Para obtener una descripción de este miembro, vea ToUInt32(IFormatProvider).

IConvertible.ToUInt64(IFormatProvider)

Para obtener una descripción de este miembro, vea ToUInt64(IFormatProvider).

IDecrementOperators<UInt64>.CheckedDecrement(UInt64)

Disminuye un valor.

IDecrementOperators<UInt64>.Decrement(UInt64)

Disminuye un valor.

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

Divide un valor por otro para calcular su cociente.

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

Compara dos valores para determinar la igualdad.

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

Compara dos valores para determinar la desigualdad.

IIncrementOperators<UInt64>.CheckedIncrement(UInt64)

Incrementa un valor.

IIncrementOperators<UInt64>.Increment(UInt64)

Incrementa un valor.

IMinMaxValue<UInt64>.MaxValue

Obtiene el valor máximo del tipo actual.

IMinMaxValue<UInt64>.MinValue

Obtiene el valor mínimo del tipo actual.

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

Divide dos valores juntos para calcular su módulo o resto.

IMultiplicativeIdentity<UInt64,UInt64>.MultiplicativeIdentity

Obtiene la identidad multiplicativa del tipo actual.

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

Multiplica dos valores juntos para calcular su producto.

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

Multiplica dos valores juntos para calcular su producto.

INumber<UInt64>.CopySign(UInt64, UInt64)

Copia el signo de un valor en el signo de otro valor.

INumber<UInt64>.MaxNumber(UInt64, UInt64)

Compara dos valores para calcular que es mayor y devolver el otro valor si una entrada es NaN.

INumber<UInt64>.MinNumber(UInt64, UInt64)

Compara dos valores con el proceso que es menor y devuelve el otro valor si una entrada es NaN.

INumberBase<UInt64>.Abs(UInt64)

Calcula el valor absoluto de un valor.

INumberBase<UInt64>.IsCanonical(UInt64)

Determina si un valor está en su representación canónica.

INumberBase<UInt64>.IsComplexNumber(UInt64)

Determina si un valor representa un número complejo.

INumberBase<UInt64>.IsFinite(UInt64)

Determina si un valor es finito.

INumberBase<UInt64>.IsImaginaryNumber(UInt64)

Determina si un valor representa un número imaginario puro.

INumberBase<UInt64>.IsInfinity(UInt64)

Determina si un valor es infinito.

INumberBase<UInt64>.IsInteger(UInt64)

Determina si un valor representa un número entero.

INumberBase<UInt64>.IsNaN(UInt64)

Determina si un valor es NaN.

INumberBase<UInt64>.IsNegative(UInt64)

Determina si un valor es negativo.

INumberBase<UInt64>.IsNegativeInfinity(UInt64)

Determina si un valor es infinito negativo.

INumberBase<UInt64>.IsNormal(UInt64)

Determina si un valor es normal.

INumberBase<UInt64>.IsPositive(UInt64)

Determina si un valor es positivo.

INumberBase<UInt64>.IsPositiveInfinity(UInt64)

Determina si un valor es infinito positivo.

INumberBase<UInt64>.IsRealNumber(UInt64)

Determina si un valor representa un número real.

INumberBase<UInt64>.IsSubnormal(UInt64)

Determina si un valor es subnormal.

INumberBase<UInt64>.IsZero(UInt64)

Determina si un valor es cero.

INumberBase<UInt64>.MaxMagnitude(UInt64, UInt64)

Compara dos valores con el proceso, que es mayor.

INumberBase<UInt64>.MaxMagnitudeNumber(UInt64, UInt64)

Compara dos valores con el proceso que tiene la mayor magnitud y devuelve el otro valor si una entrada es NaN.

INumberBase<UInt64>.MinMagnitude(UInt64, UInt64)

Compara dos valores con el proceso, que es menor.

INumberBase<UInt64>.MinMagnitudeNumber(UInt64, UInt64)

Compara dos valores con el proceso que tiene la magnitud menor y devuelve el otro valor si una entrada es NaN.

INumberBase<UInt64>.One

Obtiene el valor 1 del tipo.

INumberBase<UInt64>.Radix

Obtiene la raíz, o base, para el tipo.

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

Representa un entero de 64 bits sin signo.

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

Representa un entero de 64 bits sin signo.

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

Representa un entero de 64 bits sin signo.

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

Intenta convertir una instancia del tipo actual en otro tipo, iniciando una excepción de desbordamiento para los valores que se encuentran fuera del intervalo representable del tipo actual.

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

Intenta convertir una instancia del tipo actual en otro tipo, saturando los valores que se encuentran fuera del intervalo representable del tipo actual.

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

Intenta convertir una instancia del tipo actual en otro tipo, truncando los valores que se encuentran fuera del intervalo representable del tipo actual.

INumberBase<UInt64>.Zero

Obtiene el valor 0 del tipo.

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

Desplaza un valor a la izquierda por una cantidad determinada.

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

Desplaza un valor a la derecha por una cantidad determinada.

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

Desplaza un valor a la derecha por una cantidad determinada.

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

Resta dos valores para calcular su diferencia.

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

Resta dos valores para calcular su diferencia.

IUnaryNegationOperators<UInt64,UInt64>.CheckedUnaryNegation(UInt64)

Calcula la negación unaria comprobada de un valor.

IUnaryNegationOperators<UInt64,UInt64>.UnaryNegation(UInt64)

Calcula la negación unaria de un valor.

IUnaryPlusOperators<UInt64,UInt64>.UnaryPlus(UInt64)

Calcula la unaria más de un valor.

Se aplica a

Seguridad para subprocesos

Todos los miembros de este tipo son seguros para subprocesos. Los miembros que parecen modificar el estado de la instancia devuelven realmente una nueva instancia inicializada con el nuevo valor. Al igual que con cualquier otro tipo, la lectura y escritura en una variable compartida que contiene una instancia de este tipo deben estar protegidas por un bloqueo para garantizar la seguridad de los subprocesos.

Consulte también