Méthode System::Byte::Parse

Byte::Parse(const String&) method

Convertit la chaîne spécifiée contenant la représentation sous forme de chaîne d’un nombre en l’entier non signé équivalent de 8 bits.

static uint8_t System::Byte::Parse(const String &value)
ParamètreTypeDescription
valeurconst String&La chaîne à convertir.

ReturnValue

L’entier non signé de 8 bits égal au nombre représenté par la chaîne spécifiée.

Voir aussi

Byte::Parse(const String&, const SharedPtr<Globalization::CultureInfo>&) method

static uint8_t System::Byte::Parse(const String &value, const SharedPtr<Globalization::CultureInfo> &culture)

Voir aussi

Byte::Parse(const String&, const SharedPtr<Globalization::NumberFormatInfo>&) method

static uint8_t System::Byte::Parse(const String &value, const SharedPtr<Globalization::NumberFormatInfo> &nfi)

Voir aussi

Byte::Parse(const String&, const SharedPtr<IFormatProvider>&) method

Convertit la chaîne spécifiée contenant la représentation sous forme de chaîne d’un nombre en l’entier non signé équivalent de 8 bits en utilisant les informations de formatage fournies.

static uint8_t System::Byte::Parse(const String &value, const SharedPtr<IFormatProvider> &provider)
ParamètreTypeDescription
valeurconst String&La chaîne à convertir.
fournisseurconst SharedPtr<IFormatProvider>&Un pointeur vers un objet qui contient les informations de format de chaîne.

ReturnValue

L’entier non signé de 8 bits égal au nombre représenté par la chaîne spécifiée.

Voir aussi

Byte::Parse(const String&, Globalization::NumberStyles, const SharedPtr<Globalization::CultureInfo>&) method

static uint8_t System::Byte::Parse(const String &value, Globalization::NumberStyles styles, const SharedPtr<Globalization::CultureInfo> &culture)

Voir aussi

Byte::Parse(const String&, Globalization::NumberStyles, const SharedPtr<Globalization::NumberFormatInfo>&) method

static uint8_t System::Byte::Parse(const String &value, Globalization::NumberStyles styles, const SharedPtr<Globalization::NumberFormatInfo> &nfi)

Voir aussi

Byte::Parse(const String&, Globalization::NumberStyles, const SharedPtr<IFormatProvider>&) method

Convertit la chaîne spécifiée contenant la représentation sous forme de chaîne d’un nombre en l’entier non signé équivalent de 8 bits en utilisant les informations de formatage fournies et le style numérique.

static uint8_t System::Byte::Parse(const String &value, Globalization::NumberStyles styles, const SharedPtr<IFormatProvider> &provider)
ParamètreTypeDescription
valeurconst String&La chaîne à convertir.
stylesGlobalization::NumberStylesUne combinaison bit à bit des valeurs de l’énumération NumberStyles qui spécifie le style autorisé de la représentation sous forme de chaîne d’un nombre.
fournisseurconst SharedPtr<IFormatProvider>&Un pointeur vers un objet qui contient les informations de format de chaîne.

ReturnValue

L’entier non signé de 8 bits égal au nombre représenté par la chaîne spécifiée.

Voir aussi

Byte::Parse(const String&, Globalization::NumberStyles, std::nullptr_t) method

static uint8_t System::Byte::Parse(const String &value, Globalization::NumberStyles styles, std::nullptr_t=nullptr)

Voir aussi

Byte::Parse(const String&, std::nullptr_t) method

static uint8_t System::Byte::Parse(const String &value, std::nullptr_t)

Voir aussi