ToSByte()

XmlConvert::ToSByte(const String&) method

Converts the String to a SByte equivalent.

static int8_t System::Xml::XmlConvert::ToSByte(const String &s)

Arguments

ParameterTypeDescription
sconst String&The string to convert.

Return Value

An SByte equivalent of the string.

Exceptions

ExceptionDescription
ArgumentNullExceptions is nullptr.
FormatExceptions is not in the correct format.
OverflowExceptions represents a number less than SByte::MinValue or greater than SByte::MaxValue.

See Also