Share via


IClusterEnumerable::Add method

Adds an object to the end of the collection.

Syntax

HRESULT Add(
  [in] VARIANT item
);

Parameters

  • item [in]
    An object to add to the collection.

Return value

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.

Remarks

The collection allows duplicate elements.

Requirements

Product

Compute Cluster Pack Client Utilities

Type library

Ccpapi.tlb

See also

IClusterEnumerable

IClusterEnumerable::Remove