Share via


ToLong Method (String)

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

Converts a string to a Long value.

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

Syntax

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

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

Conversions Class

ToLong Overload

Microsoft.VisualBasic.CompilerServices Namespace