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: ObjectThe original value to unbox.
Return Value
Type: Double
Returns a Double object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.