Επεξεργασία

Κοινή χρήση μέσω


DoubleType.Parse Method

Definition

Returns a Double value that corresponds to the specified string and optional number format information.

Overloads

Parse(String)

This API supports the product infrastructure and is not intended to be used directly from your code.

Returns a Double value that corresponds to the specified string.

Parse(String, NumberFormatInfo)

This API supports the product infrastructure and is not intended to be used directly from your code.

Returns a Double value that corresponds to the specified string and number format information.

Remarks

This class supports the Visual Basic compiler and is not intended to be used directly from your code.

Parse(String)

Source:
DoubleType.vb
Source:
DoubleType.vb
Source:
DoubleType.vb

Returns a Double value that corresponds to the specified string.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 static double Parse(System::String ^ Value);
public static double Parse (string Value);
static member Parse : string -> double
Public Shared Function Parse (Value As String) As Double
Public Function Parse (Value As String) As Double

Parameters

Value
String

Required. String to convert to a Double value.

Returns

The Double value corresponding to Value.

Remarks

This class supports the Visual Basic compiler and is not intended to be used directly from your code.

Applies to

Parse(String, NumberFormatInfo)

Source:
DoubleType.vb
Source:
DoubleType.vb
Source:
DoubleType.vb

Returns a Double value that corresponds to the specified string and number format information.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 static double Parse(System::String ^ Value, System::Globalization::NumberFormatInfo ^ NumberFormat);
public static double Parse (string Value, System.Globalization.NumberFormatInfo? NumberFormat);
public static double Parse (string Value, System.Globalization.NumberFormatInfo NumberFormat);
static member Parse : string * System.Globalization.NumberFormatInfo -> double
Public Shared Function Parse (Value As String, NumberFormat As NumberFormatInfo) As Double
Public Function Parse (Value As String, NumberFormat As NumberFormatInfo) As Double

Parameters

Value
String

Required. String to convert to a Double value.

NumberFormat
NumberFormatInfo

A NumberFormatInfo object that defines how numeric values are formatted and displayed, depending on the culture.

Returns

The Double value corresponding to Value.

Remarks

This class supports the Visual Basic compiler and is not intended to be used directly from your code.

Applies to