XmlConvert.ToSByte(String) Méthode

Définition

Important

Cette API n’est pas conforme CLS.

Convertit la chaîne String en un é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

Chaîne à convertir.

Retours

Équivalent SByte de la chaîne.

Attributs

Exceptions

s a la valeur null.

Le format de s est incorrect.

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

S’applique à