Delete Method (IVariants)

Topic Last Modified: 2006-06-13

Deletes the specified variant from the collection.

Applies To

IVariants Interface

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Syntax

Sub Delete(    Value As Variant)
HRESULT Delete
(
        VARIANT* Value
);

Parameters

  • Value
    The pointer to the variant to delete.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Note that you pass the address of the variable (ByRef), rather than the value of the variable, to the Delete method.