Share via


Add Method (IVariants)

Topic Last Modified: 2006-06-13

The Add method adds the specified variant to the collection.

Applies To

IVariants Interface

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Syntax

Sub Add(    NewValue As Variant)
HRESULT Add
(
        VARIANT NewValue
);

Parameters

  • NewValue
    The value to add to the collection.

Return Value

Returns S_OK if successful, or an error value otherwise.