Int64..::..Parse Method
Converts the string representation of a number to its 64-bit signed integer equivalent.
Namespace:
System
Assembly:
Bridge (in Bridge.dll)
Syntax
[TemplateAttribute] public static long Parse( string s )
<TemplateAttribute> _ Public Shared Function Parse ( _ s As String _ ) As Long
[TemplateAttribute] public: static long long^ Parse( String^ s )
Parameters
- s
- Type: System..::..String
A string containing a number to convert.
Return Value
A 64-bit signed integer equivalent to the number contained in s.Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | s is null. |
System..::..FormatException | s is not in the correct format. |
System..::..OverflowException | s represents a number less than MinValue or greater than MaxValue. |