XmlConvert.ToSByte(String) XmlConvert.ToSByte(String) XmlConvert.ToSByte(String) XmlConvert.ToSByte(String) Method

Definition

Important

This API is not CLS-compliant.

Converts the String to a SByte equivalent.

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

Parameters

s
String String String String

The string to convert.

Returns

An SByte equivalent of the string.

Exceptions

s represents a number less than MinValue or greater than MaxValue.

Applies to