Bridge

SByte..::..Parse Method (String)

Converts the string representation of a number to its 8-bit signed integer equivalent.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


[TemplateAttribute]
public static sbyte Parse(
	string s
)
<TemplateAttribute> _
Public Shared Function Parse ( _
	s As String _
) As SByte
[TemplateAttribute]
public:
static signed char^ Parse(
	String^ s
)

Parameters

s
Type: System..::..String
A string that represents a number to convert. The string is interpreted using the Integer style.

Return Value

An 8-bit signed integer that is equivalent to the number contained in the s parameter.

Exceptions


ExceptionCondition
System..::..ArgumentExceptions is null.
System..::..FormatExceptions does not consist of an optional sign followed by a sequence of digits (zero through nine).
System..::..OverflowExceptions represents a number less than MinValue or greater than MaxValue.