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
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา