Share via


ToLong Method (Object)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Converts an object to a Long value.

Namespace:  Microsoft.VisualBasic.CompilerServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

Syntax

'Declaration
Public Shared Function ToLong ( _
    Value As Object _
) As Long
public static long ToLong(
    Object Value
)
public:
static long long ToLong(
    Object^ Value
)
static member ToLong : 
        Value:Object -> int64 
public static function ToLong(
    Value : Object
) : long

Parameters

Return Value

Type: System. . :: . .Int64
The Long value of the object.

.NET Framework Security

See Also

Reference

Conversions Class

ToLong Overload

Microsoft.VisualBasic.CompilerServices Namespace