Parse Method
[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 64-bit signed integer equivalent.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
Public Shared Function Parse ( _
s As String _
) As Long
public static long Parse(
string s
)
public:
static long long Parse(
String^ s
)
static member Parse :
s:string -> int64
public static function Parse(
s : String
) : long
Parameters
- s
Type: System. . :: . .String
A string containing a number to convert.
Return Value
Type: System. . :: . .Int64
A 64-bit signed integer equivalent to the number contained in s.
.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.