Conversions.ToSingle 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 Single value.
Overloads
ToSingle(Object) |
Converts an object to a Single value. |
ToSingle(String) |
ToSingle(Object)
- Source:
- Conversions.vb
- Source:
- Conversions.vb
- Source:
- Conversions.vb
Converts an object to a Single value.
public:
static float ToSingle(System::Object ^ Value);
public static float ToSingle (object Value);
public static float ToSingle (object? Value);
static member ToSingle : obj -> single
Public Shared Function ToSingle (Value As Object) As Single
Parameters
- Value
- Object
The object to convert.
Returns
The Single value of the object.
Applies to
ToSingle(String)
- Source:
- Conversions.vb
- Source:
- Conversions.vb
- Source:
- Conversions.vb
public:
static float ToSingle(System::String ^ Value);
public static float ToSingle (string Value);
public static float ToSingle (string? Value);
static member ToSingle : string -> single
Public Shared Function ToSingle (Value As String) As Single
Parameters
- Value
- String
The string to convert.
Returns
The Single value of the string.
Applies to
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา