Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Converts the string representation of a number to its 8-bit signed integer equivalent.
This API is not CLS-compliant. The CLS-compliant alternative is Parse.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Public Shared Function Parse ( _
s As String _
) As SByte
[CLSCompliantAttribute(false)]
public static sbyte Parse(
string s
)
[CLSCompliantAttribute(false)]
public:
static signed char Parse(
String^ s
)
[<CLSCompliantAttribute(false)>]
static member Parse :
s:string -> sbyte
public static function Parse(
s : String
) : sbyte
Parameters
- s
Type: System. . :: . .String
A string that represents a number to convert. The string is interpreted using the NumberStyles.Integer style.
Return Value
Type: System. . :: . .SByte
An 8-bit signed integer that is equivalent to the number contained in the s parameter.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.