DXHelp.CopyObjectDataToPointer Method |
Language: |
Copies a managed object to an unmanaged pointer.
Visual Basic Public Shared Sub CopyObjectDataToPointer( _
ByVal objectData As Object, _
ByVal pointerData As IntPtr _
)C# public static void CopyObjectDataToPointer(
object objectData,
IntPtr pointerData
);C++ public:
static void CopyObjectDataToPointer(
Object^ objectData,
IntPtr pointerData
);JScript public static function CopyObjectDataToPointer(
objectData : Object,
pointerData : IntPtr
);
objectData System.Object
Source Object to copy to the unmanaged pointer.pointerData System.IntPtr
Destination pointer to which the source object is copied.
This method copies strings and arrays of strings, but it is not a fast process.
Exceptions
ArgumentException 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