SingleType.FromObject SingleType.FromObject SingleType.FromObject SingleType.FromObject Method

Definition

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

Overloads

FromObject(Object) FromObject(Object) FromObject(Object) FromObject(Object)

Returns a Single value that corresponds to the specified object.

FromObject(Object, NumberFormatInfo) FromObject(Object, NumberFormatInfo) FromObject(Object, NumberFormatInfo) FromObject(Object, NumberFormatInfo)

Returns a Single 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) FromObject(Object) FromObject(Object) FromObject(Object)

Returns a Single value that corresponds to the specified object.

public:
 static float FromObject(System::Object ^ Value);
public static float FromObject (object Value);
static member FromObject : obj -> single
Public Shared Function FromObject (Value As Object) As Single

Parameters

Value
Object Object Object Object

Required. Object to convert to a Single value.

Returns

The Single value corresponding to Value.

Remarks

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

FromObject(Object, NumberFormatInfo) FromObject(Object, NumberFormatInfo) FromObject(Object, NumberFormatInfo) FromObject(Object, NumberFormatInfo)

Returns a Single value that corresponds to the specified object.

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

Parameters

Value
Object Object Object Object

Required. Object to convert to a Single value.

NumberFormat
NumberFormatInfo NumberFormatInfo NumberFormatInfo NumberFormatInfo

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

Returns

The Single 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