UInt64 Struktura
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Důležité
Toto rozhraní API neodpovídá specifikaci CLS.
Představuje 64bitové celé číslo bez znaménka.
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
- Dědičnost
- Atributy
- Implementuje
-
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>
Poznámky
Typ UInt64 hodnoty představuje celá čísla bez znaménka s hodnotami v rozsahu od 0 do 18 446 744 073 709 551 615.
Důležité
Typ UInt64 není kompatibilní s CLS. Alternativní typ kompatibilní s CLS je Decimal. Int64 místo toho lze použít k nahrazení hodnoty v rozsahu UInt64 od nuly do MaxValue. Další informace o dodržování předpisů CLS najdete v tématu Jazyková nezávislost a Language-Independent Komponenty.
UInt64 poskytuje metody pro porovnání instancí tohoto typu, převod hodnoty instance na řetězcovou reprezentaci a převod řetězcové reprezentace čísla na instanci tohoto typu.
Pole
MaxValue |
Představuje největší možnou hodnotu objektu UInt64. Toto pole je konstantní. |
MinValue |
Představuje nejmenší možnou hodnotu objektu UInt64. Toto pole je konstantní. |
Metody
Clamp(UInt64, UInt64, UInt64) |
Upne hodnotu na minimální a maximální hodnotu včetně. |
CompareTo(Object) |
Porovná tuto instanci se zadaným objektem a vrací údaj o jejich relativních hodnotách. |
CompareTo(UInt64) |
Porovná tuto instanci se zadaným 64bitovým celočíselným číslem bez znaménka a vrátí indikaci 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 saturuje 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(UInt64, UInt64) |
Vypočítá podíl a zbytek dvou hodnot. |
Equals(Object) |
Vrací hodnotu, která určuje, zda je tato instance rovna zadanému objektu. |
Equals(UInt64) |
Vrátí hodnotu označující, zda se tato instance rovná zadané UInt64 hodnotě. |
GetHashCode() |
Vrátí hodnotu hash pro tuto instanci. |
GetTypeCode() | |
IsEvenInteger(UInt64) |
Určuje, jestli hodnota představuje sudé celočíselné číslo. |
IsOddInteger(UInt64) |
Určuje, zda hodnota představuje liché celočíselné číslo. |
IsPow2(UInt64) |
Určuje, jestli je hodnota mocninou dvou. |
LeadingZeroCount(UInt64) |
Vypočítá počet počátečních nul v hodnotě. |
Log2(UInt64) |
Vypočítá log2 hodnoty. |
Max(UInt64, UInt64) |
Porovná dvě hodnoty s výpočtem, který je větší. |
Min(UInt64, UInt64) |
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 64bitový celočíselný ekvivalent bez znaménka. |
Parse(String) |
Převede řetězcovou reprezentaci čísla na jeho 64bitový celočíselný ekvivalent bez znaménka. |
Parse(String, IFormatProvider) |
Převede řetězcovou reprezentaci čísla v zadaném formátu specifickém pro jazykovou verzi na jeho 64bitový celočíselný ekvivalent bez znaménka. |
Parse(String, NumberStyles) |
Převede řetězcovou reprezentaci čísla v zadaném stylu na jeho 64bitový celočíselný ekvivalent bez znaménka. |
Parse(String, NumberStyles, IFormatProvider) |
Převede řetězcovou reprezentaci čísla v zadaném stylu a formátu specifickém pro jazykovou verzi na jeho 64bitový celočíselný ekvivalent bez znaménka. |
PopCount(UInt64) |
Vypočítá počet bitů, které jsou nastaveny v hodnotě. |
RotateLeft(UInt64, Int32) |
Otočí hodnotu zbývající o danou částku. |
RotateRight(UInt64, Int32) |
Otočí hodnotu doprava o danou částku. |
Sign(UInt64) |
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ězcovou reprezentaci 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(UInt64) |
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 naformátovat hodnotu aktuální instance dlouhého čísla bez znaménka do zadaného rozsahu znaků. |
TryParse(ReadOnlySpan<Byte>, IFormatProvider, UInt64) |
Pokusí se parsovat rozsah znaků UTF-8 na hodnotu. |
TryParse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider, UInt64) |
Pokusí se parsovat rozsah znaků UTF-8 na hodnotu. |
TryParse(ReadOnlySpan<Byte>, UInt64) |
Pokusí se převést znakový rozsah UTF-8 obsahující řetězcovou reprezentaci čísla na jeho 64bitový celočíselný ekvivalent bez znaménka. |
TryParse(ReadOnlySpan<Char>, IFormatProvider, UInt64) |
Pokusí se parsovat rozsah znaků na hodnotu. |
TryParse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider, UInt64) |
Pokusí se převést reprezentaci rozsahu čísla v zadaném stylu a formátu specifickém pro jazykovou verzi na jeho 64bitový celočíselný ekvivalent bez znaménka. Vrácená hodnota označuje, zda byl převod úspěšný, či nikoli. |
TryParse(ReadOnlySpan<Char>, UInt64) |
Pokusí se převést reprezentaci rozsahu čísla na jeho 64bitový celočíselný ekvivalent bez znaménka. Vrácená hodnota označuje, zda byl převod úspěšný, či nikoli. |
TryParse(String, IFormatProvider, UInt64) |
Pokusí se parsovat řetězec na hodnotu. |
TryParse(String, NumberStyles, IFormatProvider, UInt64) |
Pokusí se převést řetězcovou reprezentaci čísla v zadaném stylu a formátu specifickém pro jazykovou verzi na jeho 64bitový celočíselný ekvivalent bez znaménka. Vrácená hodnota označuje, zda byl převod úspěšný, či nikoli. |
TryParse(String, UInt64) |
Pokusí se převést řetězcovou reprezentaci čísla na jeho 64bitový celočíselný ekvivalent bez znaménka. Vrácená hodnota označuje, zda byl převod úspěšný, či nikoli. |
Explicitní implementace rozhraní
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é
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro