Unbox.AsDouble Method
Unboxes the specified object into a Double object.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.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: System.ObjectThe original value to unbox.
Return Value
Type: System.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.