Unbox.AsDouble Method

Unboxes the specified object into a Double object.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Shared Function AsDouble ( _
    var As Object _
) As Double
public static double AsDouble(
    Object var
)
public:
static double AsDouble(
    Object^ var
)
static member AsDouble : 
        var:Object -> float
public static function AsDouble(
    var : Object
) : double

Parameters

  • var
    Type: Object

    The original value to unbox.

Return Value

Type: Double
Returns a Double object.

.NET Framework Security

See Also

Reference

Unbox Class

Microsoft.VisualStudio.PlatformUI Namespace