DSAFEARRAY.CopyToVariantmethod
Copies the safe array to the passed variant.
Syntax
FUNCTION CopyToVariant (BYVAL pvar AS VARIANT PTR) AS HRESULT
Return value
S_OK (0) on success or an HREUSLT code on failure.
Description
Copies the safe array to the passed variant.
pvar is a pointer to the variant where the safe array will be copied.
Reference
- Include file
DSafeArray.inc - Defined in AfxNova/DSafeArray.inc:1026
- Documented in COM/DSAFEARRAY Class.md
- Topic: DSAFEARRAY Class