Conversions.ToLong Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts the specified object to a Long
value.
Overloads
ToLong(Object) |
Converts an object to a |
ToLong(String) |
Converts a string to a |
ToLong(Object)
- Source:
- Conversions.vb
- Source:
- Conversions.vb
- Source:
- Conversions.vb
Converts an object to a Long
value.
public:
static long ToLong(System::Object ^ Value);
public static long ToLong (object Value);
public static long ToLong (object? Value);
static member ToLong : obj -> int64
Public Shared Function ToLong (Value As Object) As Long
Parameters
- Value
- Object
The object to convert.
Returns
The Long
value of the object.
Applies to
ToLong(String)
- Source:
- Conversions.vb
- Source:
- Conversions.vb
- Source:
- Conversions.vb
Converts a string to a Long
value.
public:
static long ToLong(System::String ^ Value);
public static long ToLong (string Value);
public static long ToLong (string? Value);
static member ToLong : string -> int64
Public Shared Function ToLong (Value As String) As Long
Parameters
- Value
- String
The string to convert.
Returns
The Long
value of the string.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.