Redigera

Dela via


DoubleType.FromObject Method

Definition

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

Overloads

FromObject(Object)

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 object.

FromObject(Object, 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 object.

Remarks

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

FromObject(Object)

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

Returns a Double value that corresponds to the specified object.

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

public:
 static double FromObject(System::Object ^ Value);
public static double FromObject (object? Value);
public static double FromObject (object Value);
static member FromObject : obj -> double
Public Shared Function FromObject (Value As Object) As Double
Public Function FromObject (Value As Object) As Double

Parameters

Value
Object

Required. Object 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

FromObject(Object, NumberFormatInfo)

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

Returns a Double value that corresponds to the specified object.

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

public:
 static double FromObject(System::Object ^ Value, System::Globalization::NumberFormatInfo ^ NumberFormat);
public static double FromObject (object? Value, System.Globalization.NumberFormatInfo? NumberFormat);
public static double FromObject (object Value, System.Globalization.NumberFormatInfo NumberFormat);
static member FromObject : obj * System.Globalization.NumberFormatInfo -> double
Public Shared Function FromObject (Value As Object, NumberFormat As NumberFormatInfo) As Double
Public Function FromObject (Value As Object, NumberFormat As NumberFormatInfo) As Double

Parameters

Value
Object

Required. Object 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