Condividi tramite


Unbox.AsIntPtr(Object) Method

Definition

Unboxes the specified object into an IntPtr object.

public:
 static IntPtr AsIntPtr(System::Object ^ var);
public static IntPtr AsIntPtr (object var);
static member AsIntPtr : obj -> nativeint
Public Shared Function AsIntPtr (var As Object) As IntPtr

Parameters

var
Object

The original value to unbox.

Returns

IntPtr

nativeint

Returns an IntPtr object.

Applies to