DSAFEARRAY.Removemethod
Deletes the specified array element.
Syntax
FUNCTION Remove (BYVAL nPos AS LONG) AS HRESULT
Parameters
| Name | Description | |
|---|---|---|
nPos | Index of the array element which will be deleted. |
Return value
S_OK (0) on success or an HRESULT code on failure.
Description
Removes the specified array element.
Reference
- Include file
DSafeArray.inc - Defined in AfxNova/DSafeArray.inc:2024
- Documented in COM/DSAFEARRAY Class.md
- Topic: DSAFEARRAY Class