DXHelp.CopyPointerDataToObject Method

Language:

Copies an unmanaged pointer to a managed object.

Definition

Visual Basic Public Shared Sub CopyPointerDataToObject( _
    ByRef objectData As Object, _
    ByVal pointerData As IntPtr _
)
C# public static void CopyPointerDataToObject(
    ref object objectData,
    IntPtr pointerData
);
C++ public:
static void CopyPointerDataToObject(
    Object^% objectData,
    IntPtr pointerData
);
JScript public static function CopyPointerDataToObject(
    objectData : Object,
    pointerData : IntPtr
);

Parameters

objectData System.Object
[ref] Destination Object Leave Site to which the pointer data is copied.
pointerData System.IntPtr
Source pointer data that is copied to the object.

Remarks

Exceptions
ArgumentException Leave Site A value type must be passed to this method.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center