XmlConvert.ToSByte(String) Méthode

Définition

Important

Cette API n’est pas conforme CLS.

Convertit le String en équivalent SByte .

public:
 static System::SByte ToSByte(System::String ^ s);
[System.CLSCompliant(false)]
public static sbyte ToSByte(string s);
[<System.CLSCompliant(false)>]
static member ToSByte : string -> sbyte
Public Shared Function ToSByte (s As String) As SByte

Paramètres

s
String

La chaîne à convertir.

Retours

Équivalent SByte de la chaîne.

Attributs

Exceptions

s a la valeur null.

s n’est pas au format correct.

s représente un nombre inférieur à SByte.MinValue ou supérieur à SByte.MaxValue.

S’applique à