IIntCollection::Add method

Adds an item to the collection.

Syntax

HRESULT Add(
  [in] long item
);

Parameters

  • item [in]
    The integer item 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.

Requirements

Product

HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities

Type library

Microsoft.Hpc.Scheduler.tlb

See also

IIntCollection

IIntCollection::Remove