Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Convert.ToInt64 Method

Converts a specified value to a 64-bit signed integer.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member ToInt64(Boolean) Converts the specified Boolean value to the equivalent 64-bit signed integer.
Public method Static member ToInt64(Byte) Converts the value of the specified 8-bit unsigned integer to the equivalent 64-bit signed integer.
Public method Static member ToInt64(Char) Converts the value of the specified Unicode character to the equivalent 64-bit signed integer.
Public method Static member ToInt64(DateTime) Calling this method always throws InvalidCastException.
Public method Static member ToInt64(Decimal) Converts the value of the specified decimal number to an equivalent 64-bit signed integer.
Public method Static member ToInt64(Double) Converts the value of the specified double-precision floating-point number to an equivalent 64-bit signed integer.
Public method Static member ToInt64(Int16) Converts the value of the specified 16-bit signed integer to an equivalent 64-bit signed integer.
Public method Static member ToInt64(Int32) Converts the value of the specified 32-bit signed integer to an equivalent 64-bit signed integer.
Public method Static member ToInt64(Int64) Returns the specified 64-bit signed integer; no actual conversion is performed.
Public method Static member ToInt64(Object) Converts the value of the specified object to a 64-bit signed integer.
Public method Static member ToInt64(SByte) Converts the value of the specified 8-bit signed integer to the equivalent 64-bit signed integer.
Public method Static member ToInt64(Single) Converts the value of the specified single-precision floating-point number to an equivalent 64-bit signed integer.
Public method Static member ToInt64(String) Converts the specified string representation of a number to an equivalent 64-bit signed integer.
Public method Static member ToInt64(UInt16) Converts the value of the specified 16-bit unsigned integer to the equivalent 64-bit signed integer.
Public method Static member ToInt64(UInt32) Converts the value of the specified 32-bit unsigned integer to an equivalent 64-bit signed integer.
Public method Static member ToInt64(UInt64) Converts the value of the specified 64-bit unsigned integer to an equivalent 64-bit signed integer.
Public method Static member ToInt64(Object, IFormatProvider) Converts the value of the specified object to a 64-bit signed integer, using the specified culture-specific formatting information.
Public method Static member ToInt64(String, IFormatProvider) Converts the specified string representation of a number to an equivalent 64-bit signed integer, using the specified culture-specific formatting information.
Public method Static member ToInt64(String, Int32) Converts the string representation of a number in a specified base to an equivalent 64-bit signed integer.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.