Pointer.Unbox(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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.