DSAFEARRAY.CopyFrommethod
Copies the contents of a safe array.
Syntax
FUNCTION CopyFrom (BYVAL psaSrc AS SAFEARRAY PTR) AS HRESULT
Return value
S_OK (0) on success or an HREUSLT code on failure.
Description
Copies the contents of the passed safe array.
Remarks
CopyFrom calls the string or variant manipulation functions if the array to copy contains either of these data types. If the array being copied contains object references, the reference counts for the objects are incremented.
Reference
- Include file
DSafeArray.inc - Defined in AfxNova/DSafeArray.inc:882
- Documented in COM/DSAFEARRAY Class.md
- Topic: DSAFEARRAY Class