Delen via


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: Object

    The original value to unbox.

Return Value

Type: IntPtr
Returns an IntPtr object.

.NET Framework Security

See Also

Reference

Unbox Class

Microsoft.VisualStudio.PlatformUI Namespace