Unbox.AsIntPtr Method
Unboxes the specified object into an IntPtr object.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Shared Function AsIntPtr ( _
var As Object _
) As IntPtr
public static IntPtr AsIntPtr(
Object var
)
public:
static IntPtr AsIntPtr(
Object^ var
)
static member AsIntPtr :
var:Object -> IntPtr
public static function AsIntPtr(
var : Object
) : IntPtr
Parameters
var
Type: ObjectThe original value to unbox.
Return Value
Type: IntPtr
Returns an IntPtr 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.