Method ToInt64
ToInt64()
Converts the value represented by this instance to a 64-bit sighed
integer.
Declaration
public override long ToInt64()
Returns
Type | Description |
---|---|
Int64 | A 64-bit signed integer equivalent to the number represented by the string represented by this instance. |
Overrides
Remarks
This method performs the same conversion as
ToInt64(String).
Exceptions
Type | Condition |
---|---|
FormatException | The string represented by this instance does not represent an integer. |
OverflowException | If the string represented by this instance represents value less than MinValue or greater than MaxValue |