DXHelp.CopyObjectDataToPointer(Object,IntPtr) Method (Microsoft.DirectX)
Copies a managed object to an unmanaged pointer.
Definition
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
);
Parameters
objectData System.Object
Source Object to copy to the unmanaged pointer.pointerData System.IntPtr
Destination pointer to which the source object is copied.
Remarks
This method copies strings and arrays of strings, but it is not a fast process.
Exceptions
A value type must be passed to this method.