Unbox.AsIntPtr(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.