SByte 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.
- Alternativa odpovídající specifikaci CLS
- System.Int16
Představuje 8bitové celé číslo se signoum sadou.
public value class System::SByte : IComparable, IComparable<System::SByte>, IConvertible, IEquatable<System::SByte>, IFormattable
public value class System::SByte : IComparable, IComparable<System::SByte>, IConvertible, IEquatable<System::SByte>, ISpanFormattable
public value class System::SByte : IComparable<System::SByte>, IConvertible, IEquatable<System::SByte>, IParsable<System::SByte>, ISpanParsable<System::SByte>, System::Numerics::IAdditionOperators<System::SByte, System::SByte, System::SByte>, System::Numerics::IAdditiveIdentity<System::SByte, System::SByte>, System::Numerics::IBinaryInteger<System::SByte>, System::Numerics::IBinaryNumber<System::SByte>, System::Numerics::IBitwiseOperators<System::SByte, System::SByte, System::SByte>, System::Numerics::IComparisonOperators<System::SByte, System::SByte, bool>, System::Numerics::IDecrementOperators<System::SByte>, System::Numerics::IDivisionOperators<System::SByte, System::SByte, System::SByte>, System::Numerics::IEqualityOperators<System::SByte, System::SByte, bool>, System::Numerics::IIncrementOperators<System::SByte>, System::Numerics::IMinMaxValue<System::SByte>, System::Numerics::IModulusOperators<System::SByte, System::SByte, System::SByte>, System::Numerics::IMultiplicativeIdentity<System::SByte, System::SByte>, System::Numerics::IMultiplyOperators<System::SByte, System::SByte, System::SByte>, System::Numerics::INumber<System::SByte>, System::Numerics::INumberBase<System::SByte>, System::Numerics::IShiftOperators<System::SByte, int, System::SByte>, System::Numerics::ISignedNumber<System::SByte>, System::Numerics::ISubtractionOperators<System::SByte, System::SByte, System::SByte>, System::Numerics::IUnaryNegationOperators<System::SByte, System::SByte>, System::Numerics::IUnaryPlusOperators<System::SByte, System::SByte>
public value class System::SByte : IComparable<System::SByte>, IConvertible, IEquatable<System::SByte>, IParsable<System::SByte>, ISpanParsable<System::SByte>, IUtf8SpanParsable<System::SByte>, System::Numerics::IAdditionOperators<System::SByte, System::SByte, System::SByte>, System::Numerics::IAdditiveIdentity<System::SByte, System::SByte>, System::Numerics::IBinaryInteger<System::SByte>, System::Numerics::IBinaryNumber<System::SByte>, System::Numerics::IBitwiseOperators<System::SByte, System::SByte, System::SByte>, System::Numerics::IComparisonOperators<System::SByte, System::SByte, bool>, System::Numerics::IDecrementOperators<System::SByte>, System::Numerics::IDivisionOperators<System::SByte, System::SByte, System::SByte>, System::Numerics::IEqualityOperators<System::SByte, System::SByte, bool>, System::Numerics::IIncrementOperators<System::SByte>, System::Numerics::IMinMaxValue<System::SByte>, System::Numerics::IModulusOperators<System::SByte, System::SByte, System::SByte>, System::Numerics::IMultiplicativeIdentity<System::SByte, System::SByte>, System::Numerics::IMultiplyOperators<System::SByte, System::SByte, System::SByte>, System::Numerics::INumber<System::SByte>, System::Numerics::INumberBase<System::SByte>, System::Numerics::IShiftOperators<System::SByte, int, System::SByte>, System::Numerics::ISignedNumber<System::SByte>, System::Numerics::ISubtractionOperators<System::SByte, System::SByte, System::SByte>, System::Numerics::IUnaryNegationOperators<System::SByte, System::SByte>, System::Numerics::IUnaryPlusOperators<System::SByte, System::SByte>
public value class System::SByte : IComparable, IConvertible, IFormattable
public value class System::SByte : IComparable, IComparable<System::SByte>, IEquatable<System::SByte>, IFormattable
[System.CLSCompliant(false)]
public struct SByte : IComparable, IComparable<sbyte>, IConvertible, IEquatable<sbyte>, IFormattable
[System.CLSCompliant(false)]
public readonly struct SByte : IComparable, IComparable<sbyte>, IConvertible, IEquatable<sbyte>, IFormattable
[System.CLSCompliant(false)]
public readonly struct SByte : IComparable, IComparable<sbyte>, IConvertible, IEquatable<sbyte>, ISpanFormattable
[System.CLSCompliant(false)]
public readonly struct SByte : IComparable<sbyte>, IConvertible, IEquatable<sbyte>, IParsable<sbyte>, ISpanParsable<sbyte>, System.Numerics.IAdditionOperators<sbyte,sbyte,sbyte>, System.Numerics.IAdditiveIdentity<sbyte,sbyte>, System.Numerics.IBinaryInteger<sbyte>, System.Numerics.IBinaryNumber<sbyte>, System.Numerics.IBitwiseOperators<sbyte,sbyte,sbyte>, System.Numerics.IComparisonOperators<sbyte,sbyte,bool>, System.Numerics.IDecrementOperators<sbyte>, System.Numerics.IDivisionOperators<sbyte,sbyte,sbyte>, System.Numerics.IEqualityOperators<sbyte,sbyte,bool>, System.Numerics.IIncrementOperators<sbyte>, System.Numerics.IMinMaxValue<sbyte>, System.Numerics.IModulusOperators<sbyte,sbyte,sbyte>, System.Numerics.IMultiplicativeIdentity<sbyte,sbyte>, System.Numerics.IMultiplyOperators<sbyte,sbyte,sbyte>, System.Numerics.INumber<sbyte>, System.Numerics.INumberBase<sbyte>, System.Numerics.IShiftOperators<sbyte,int,sbyte>, System.Numerics.ISignedNumber<sbyte>, System.Numerics.ISubtractionOperators<sbyte,sbyte,sbyte>, System.Numerics.IUnaryNegationOperators<sbyte,sbyte>, System.Numerics.IUnaryPlusOperators<sbyte,sbyte>
[System.CLSCompliant(false)]
public readonly struct SByte : IComparable<sbyte>, IConvertible, IEquatable<sbyte>, IParsable<sbyte>, ISpanParsable<sbyte>, IUtf8SpanParsable<sbyte>, System.Numerics.IAdditionOperators<sbyte,sbyte,sbyte>, System.Numerics.IAdditiveIdentity<sbyte,sbyte>, System.Numerics.IBinaryInteger<sbyte>, System.Numerics.IBinaryNumber<sbyte>, System.Numerics.IBitwiseOperators<sbyte,sbyte,sbyte>, System.Numerics.IComparisonOperators<sbyte,sbyte,bool>, System.Numerics.IDecrementOperators<sbyte>, System.Numerics.IDivisionOperators<sbyte,sbyte,sbyte>, System.Numerics.IEqualityOperators<sbyte,sbyte,bool>, System.Numerics.IIncrementOperators<sbyte>, System.Numerics.IMinMaxValue<sbyte>, System.Numerics.IModulusOperators<sbyte,sbyte,sbyte>, System.Numerics.IMultiplicativeIdentity<sbyte,sbyte>, System.Numerics.IMultiplyOperators<sbyte,sbyte,sbyte>, System.Numerics.INumber<sbyte>, System.Numerics.INumberBase<sbyte>, System.Numerics.IShiftOperators<sbyte,int,sbyte>, System.Numerics.ISignedNumber<sbyte>, System.Numerics.ISubtractionOperators<sbyte,sbyte,sbyte>, System.Numerics.IUnaryNegationOperators<sbyte,sbyte>, System.Numerics.IUnaryPlusOperators<sbyte,sbyte>
[System.CLSCompliant(false)]
[System.Serializable]
public struct SByte : IComparable, IConvertible, IFormattable
[System.CLSCompliant(false)]
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public struct SByte : IComparable, IComparable<sbyte>, IConvertible, IEquatable<sbyte>, IFormattable
[System.CLSCompliant(false)]
public struct SByte : IComparable, IComparable<sbyte>, IEquatable<sbyte>, IFormattable
[<System.CLSCompliant(false)>]
type sbyte = struct
interface IConvertible
interface IFormattable
[<System.CLSCompliant(false)>]
type sbyte = struct
interface IConvertible
interface ISpanFormattable
interface IFormattable
[<System.CLSCompliant(false)>]
type sbyte = struct
interface IConvertible
interface IFormattable
interface IParsable<sbyte>
interface ISpanFormattable
interface ISpanParsable<sbyte>
interface IAdditionOperators<sbyte, sbyte, sbyte>
interface IAdditiveIdentity<sbyte, sbyte>
interface IBinaryInteger<sbyte>
interface IBinaryNumber<sbyte>
interface IBitwiseOperators<sbyte, sbyte, sbyte>
interface IComparisonOperators<sbyte, sbyte, bool>
interface IEqualityOperators<sbyte, sbyte, bool>
interface IDecrementOperators<sbyte>
interface IDivisionOperators<sbyte, sbyte, sbyte>
interface IIncrementOperators<sbyte>
interface IModulusOperators<sbyte, sbyte, sbyte>
interface IMultiplicativeIdentity<sbyte, sbyte>
interface IMultiplyOperators<sbyte, sbyte, sbyte>
interface INumber<sbyte>
interface INumberBase<sbyte>
interface ISubtractionOperators<sbyte, sbyte, sbyte>
interface IUnaryNegationOperators<sbyte, sbyte>
interface IUnaryPlusOperators<sbyte, sbyte>
interface IShiftOperators<sbyte, int, sbyte>
interface IMinMaxValue<sbyte>
interface ISignedNumber<sbyte>
[<System.CLSCompliant(false)>]
type sbyte = struct
interface IConvertible
interface IFormattable
interface IParsable<sbyte>
interface ISpanFormattable
interface ISpanParsable<sbyte>
interface IAdditionOperators<sbyte, sbyte, sbyte>
interface IAdditiveIdentity<sbyte, sbyte>
interface IBinaryInteger<sbyte>
interface IBinaryNumber<sbyte>
interface IBitwiseOperators<sbyte, sbyte, sbyte>
interface IComparisonOperators<sbyte, sbyte, bool>
interface IEqualityOperators<sbyte, sbyte, bool>
interface IDecrementOperators<sbyte>
interface IDivisionOperators<sbyte, sbyte, sbyte>
interface IIncrementOperators<sbyte>
interface IModulusOperators<sbyte, sbyte, sbyte>
interface IMultiplicativeIdentity<sbyte, sbyte>
interface IMultiplyOperators<sbyte, sbyte, sbyte>
interface INumber<sbyte>
interface INumberBase<sbyte>
interface ISubtractionOperators<sbyte, sbyte, sbyte>
interface IUnaryNegationOperators<sbyte, sbyte>
interface IUnaryPlusOperators<sbyte, sbyte>
interface IUtf8SpanFormattable
interface IUtf8SpanParsable<sbyte>
interface IShiftOperators<sbyte, int, sbyte>
interface IMinMaxValue<sbyte>
interface ISignedNumber<sbyte>
[<System.CLSCompliant(false)>]
type sbyte = struct
interface IConvertible
interface IFormattable
interface IParsable<sbyte>
interface ISpanFormattable
interface ISpanParsable<sbyte>
interface IUtf8SpanFormattable
interface IUtf8SpanParsable<sbyte>
interface IAdditionOperators<sbyte, sbyte, sbyte>
interface IAdditiveIdentity<sbyte, sbyte>
interface IBinaryInteger<sbyte>
interface IBinaryNumber<sbyte>
interface IBitwiseOperators<sbyte, sbyte, sbyte>
interface IComparisonOperators<sbyte, sbyte, bool>
interface IEqualityOperators<sbyte, sbyte, bool>
interface IDecrementOperators<sbyte>
interface IDivisionOperators<sbyte, sbyte, sbyte>
interface IIncrementOperators<sbyte>
interface IModulusOperators<sbyte, sbyte, sbyte>
interface IMultiplicativeIdentity<sbyte, sbyte>
interface IMultiplyOperators<sbyte, sbyte, sbyte>
interface INumber<sbyte>
interface INumberBase<sbyte>
interface ISubtractionOperators<sbyte, sbyte, sbyte>
interface IUnaryNegationOperators<sbyte, sbyte>
interface IUnaryPlusOperators<sbyte, sbyte>
interface IShiftOperators<sbyte, int, sbyte>
interface IMinMaxValue<sbyte>
interface ISignedNumber<sbyte>
[<System.CLSCompliant(false)>]
[<System.Serializable>]
type sbyte = struct
interface IFormattable
interface IConvertible
[<System.CLSCompliant(false)>]
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type sbyte = struct
interface IFormattable
interface IConvertible
[<System.CLSCompliant(false)>]
type sbyte = struct
interface IFormattable
Public Structure SByte
Implements IComparable, IComparable(Of SByte), IConvertible, IEquatable(Of SByte), IFormattable
Public Structure SByte
Implements IComparable, IComparable(Of SByte), IConvertible, IEquatable(Of SByte), ISpanFormattable
Public Structure SByte
Implements IAdditionOperators(Of SByte, SByte, SByte), IAdditiveIdentity(Of SByte, SByte), IBinaryInteger(Of SByte), IBinaryNumber(Of SByte), IBitwiseOperators(Of SByte, SByte, SByte), IComparable(Of SByte), IComparisonOperators(Of SByte, SByte, Boolean), IConvertible, IDecrementOperators(Of SByte), IDivisionOperators(Of SByte, SByte, SByte), IEqualityOperators(Of SByte, SByte, Boolean), IEquatable(Of SByte), IIncrementOperators(Of SByte), IMinMaxValue(Of SByte), IModulusOperators(Of SByte, SByte, SByte), IMultiplicativeIdentity(Of SByte, SByte), IMultiplyOperators(Of SByte, SByte, SByte), INumber(Of SByte), INumberBase(Of SByte), IParsable(Of SByte), IShiftOperators(Of SByte, Integer, SByte), ISignedNumber(Of SByte), ISpanParsable(Of SByte), ISubtractionOperators(Of SByte, SByte, SByte), IUnaryNegationOperators(Of SByte, SByte), IUnaryPlusOperators(Of SByte, SByte)
Public Structure SByte
Implements IAdditionOperators(Of SByte, SByte, SByte), IAdditiveIdentity(Of SByte, SByte), IBinaryInteger(Of SByte), IBinaryNumber(Of SByte), IBitwiseOperators(Of SByte, SByte, SByte), IComparable(Of SByte), IComparisonOperators(Of SByte, SByte, Boolean), IConvertible, IDecrementOperators(Of SByte), IDivisionOperators(Of SByte, SByte, SByte), IEqualityOperators(Of SByte, SByte, Boolean), IEquatable(Of SByte), IIncrementOperators(Of SByte), IMinMaxValue(Of SByte), IModulusOperators(Of SByte, SByte, SByte), IMultiplicativeIdentity(Of SByte, SByte), IMultiplyOperators(Of SByte, SByte, SByte), INumber(Of SByte), INumberBase(Of SByte), IParsable(Of SByte), IShiftOperators(Of SByte, Integer, SByte), ISignedNumber(Of SByte), ISpanParsable(Of SByte), ISubtractionOperators(Of SByte, SByte, SByte), IUnaryNegationOperators(Of SByte, SByte), IUnaryPlusOperators(Of SByte, SByte), IUtf8SpanParsable(Of SByte)
Public Structure SByte
Implements IComparable, IConvertible, IFormattable
Public Structure SByte
Implements IComparable, IComparable(Of SByte), IEquatable(Of SByte), IFormattable
- Dědičnost
- Atributy
- Implementuje
-
IComparable IComparable<SByte> IConvertible IEquatable<SByte> IFormattable ISpanFormattable IComparable<TSelf> IEquatable<TSelf> IParsable<SByte> IParsable<TSelf> ISpanParsable<SByte> ISpanParsable<TSelf> IAdditionOperators<SByte,SByte,SByte> IAdditionOperators<TSelf,TSelf,TSelf> IAdditiveIdentity<SByte,SByte> IAdditiveIdentity<TSelf,TSelf> IBinaryInteger<SByte> IBinaryNumber<SByte> IBinaryNumber<TSelf> IBitwiseOperators<SByte,SByte,SByte> IBitwiseOperators<TSelf,TSelf,TSelf> IComparisonOperators<SByte,SByte,Boolean> IComparisonOperators<TSelf,TSelf,Boolean> IDecrementOperators<SByte> IDecrementOperators<TSelf> IDivisionOperators<SByte,SByte,SByte> IDivisionOperators<TSelf,TSelf,TSelf> IEqualityOperators<SByte,SByte,Boolean> IEqualityOperators<TSelf,TOther,TResult> IEqualityOperators<TSelf,TSelf,Boolean> IIncrementOperators<SByte> IIncrementOperators<TSelf> IMinMaxValue<SByte> IModulusOperators<SByte,SByte,SByte> IModulusOperators<TSelf,TSelf,TSelf> IMultiplicativeIdentity<SByte,SByte> IMultiplicativeIdentity<TSelf,TSelf> IMultiplyOperators<SByte,SByte,SByte> IMultiplyOperators<TSelf,TSelf,TSelf> INumber<SByte> INumber<TSelf> INumberBase<SByte> INumberBase<TSelf> IShiftOperators<SByte,Int32,SByte> IShiftOperators<TSelf,Int32,TSelf> ISignedNumber<SByte> ISubtractionOperators<SByte,SByte,SByte> ISubtractionOperators<TSelf,TSelf,TSelf> IUnaryNegationOperators<SByte,SByte> IUnaryNegationOperators<TSelf,TSelf> IUnaryPlusOperators<SByte,SByte> IUnaryPlusOperators<TSelf,TSelf> IUtf8SpanFormattable IUtf8SpanParsable<SByte> IUtf8SpanParsable<TSelf>
Poznámky
Typ SByte hodnoty představuje celá čísla s hodnotami od záporných 128 do kladných 127.
Důležité
Typ SByte není kompatibilní se specifikací CLS. Alternativní typ kompatibilní se specifikací CLS je Int16. Byte lze místo toho použít k nahrazení kladné SByte hodnoty v rozsahu od nuly do MaxValue. Další informace o dodržování předpisů cls najdete v tématu Jazyková nezávislost a součásti Language-Independent.
SByte 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.
Informace o tom, jak kódy specifikace formátu řídí řetězcové vyjádření typů hodnot, naleznete v tématu Typy formátování.
Pole
MaxValue |
Představuje největší možnou hodnotu objektu SByte. Toto pole je konstantní. |
MinValue |
Představuje nejmenší možnou hodnotu objektu SByte. Toto pole je konstantní. |
Metody
Abs(SByte) |
Vypočítá absolutní hodnotu. |
Clamp(SByte, SByte, SByte) |
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(SByte) |
Porovná tuto instanci se zadaným 8bitovým celočíselným znaménkem a vrátí indikaci jejich relativních hodnot. |
CopySign(SByte, SByte) |
Zkopíruje znaménko hodnoty na znaménko jiné hodnoty. |
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(SByte, SByte) |
Vypočítá podíl a zbytek dvou hodnot. |
Equals(Object) |
Vrací hodnotu, která určuje, zda je tato instance rovna zadanému objektu. |
Equals(SByte) |
Vrátí hodnotu označující, zda se tato instance rovná zadané SByte hodnotě. |
GetHashCode() |
Vrátí hodnotu hash pro tuto instanci. |
GetTypeCode() | |
IsEvenInteger(SByte) |
Určuje, jestli hodnota představuje sudé celočíselné číslo. |
IsNegative(SByte) |
Určuje, jestli je hodnota záporná. |
IsOddInteger(SByte) |
Určuje, zda hodnota představuje liché celočíselné číslo. |
IsPositive(SByte) |
Určuje, jestli je hodnota kladná. |
IsPow2(SByte) |
Určuje, jestli je hodnota mocninou dvou. |
LeadingZeroCount(SByte) |
Vypočítá počet počátečních nul v hodnotě. |
Log2(SByte) |
Vypočítá log2 hodnoty. |
Max(SByte, SByte) |
Porovná dvě hodnoty s výpočtem, který je větší. |
MaxMagnitude(SByte, SByte) |
Porovná dvě hodnoty s výpočtem, který je větší. |
Min(SByte, SByte) |
Porovná dvě hodnoty s výpočtem, který je menší. |
MinMagnitude(SByte, SByte) |
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, které je v zadaném stylu a formátu specifickém pro jazykovou verzi, na jeho 8bitový ekvivalent se signoumi. |
Parse(String) |
Převádí řetězcové vyjádření čísla na jeho ekvivalent v podobě 8bitového celého čísla se znaménkem. |
Parse(String, IFormatProvider) |
Převede řetězcovou reprezentaci čísla v zadaném formátu specifickém pro jazykovou verzi na jeho 8bitový celočíselný ekvivalent se znaky. |
Parse(String, NumberStyles) |
Převede řetězcovou reprezentaci čísla v zadaném stylu na jeho 8bitový celočíselný ekvivalent se znaky. |
Parse(String, NumberStyles, IFormatProvider) |
Převede řetězcovou reprezentaci čísla, které je v zadaném stylu a formátu specifickém pro jazykovou verzi, na jeho 8bitový ekvivalent se znaky. |
PopCount(SByte) |
Vypočítá počet bitů, které jsou nastaveny v hodnotě. |
RotateLeft(SByte, Int32) |
Otočí hodnotu zbývající o danou částku. |
RotateRight(SByte, Int32) |
Otočí hodnotu doprava o danou částku. |
Sign(SByte) |
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řevádí číselnou hodnotu této instance na její ekvivalentní řetězcové vyjádření pomocí určené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(SByte) |
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 formátovat hodnotu aktuální 8-bit znaménku celé instance do zadaného rozsahu znaků. |
TryParse(ReadOnlySpan<Byte>, IFormatProvider, SByte) |
Pokusí se parsovat rozsah znaků UTF-8 na hodnotu. |
TryParse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider, SByte) |
Pokusí se parsovat rozsah znaků UTF-8 na hodnotu. |
TryParse(ReadOnlySpan<Byte>, SByte) |
Pokusí se převést znakový rozsah UTF-8 obsahující řetězcovou reprezentaci čísla na jeho ekvivalent 8bitového celého čísla se znaménkem. |
TryParse(ReadOnlySpan<Char>, IFormatProvider, SByte) |
Pokusí se parsovat rozsah znaků na hodnotu. |
TryParse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider, SByte) |
Pokusí se převést reprezentaci rozsahu čísla v zadaném stylu a formátu specifickém pro jazykovou verzi na jeho SByte ekvivalent a vrátí hodnotu, která označuje, zda převod proběhl úspěšně. |
TryParse(ReadOnlySpan<Char>, SByte) |
Pokusí se převést reprezentaci rozsahu čísla na jeho SByte ekvivalent a vrátí hodnotu, která označuje, zda byl převod úspěšný. |
TryParse(String, IFormatProvider, SByte) |
Pokusí se parsovat řetězec na hodnotu. |
TryParse(String, NumberStyles, IFormatProvider, SByte) |
Pokusí se převést řetězcové vyjádření čísla v zadaném stylu a formátu specifickém pro jazykovou verzi na jeho SByte ekvivalent a vrátí hodnotu, která označuje, zda převod proběhl úspěšně. |
TryParse(String, SByte) |
Pokusí se převést řetězcové vyjádření čísla na jeho SByte ekvivalent a vrátí hodnotu, která označuje, zda převod proběhl úspěšně. |
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