Редагувати

Поділитися через


Pointer.Unbox(Object) Method

Definition

Returns the stored pointer.

public:
 static void* Unbox(System::Object ^ ptr);
public static void* Unbox (object ptr);
[System.Security.SecurityCritical]
public static void* Unbox (object ptr);
static member Unbox : obj -> nativeptr<unit>
[<System.Security.SecurityCritical>]
static member Unbox : obj -> nativeptr<unit>

Parameters

ptr
Object

The stored pointer.

Returns

Void*

This method returns void.

Attributes

Exceptions

ptr is not a pointer.

Applies to