IIntCollection::Remove method

Removes the first occurrence of the specified item from the collection.

Syntax

HRESULT Remove(
  [in]  long         item,
  [out] VARIANT_BOOL *pIsRemoved
);

Parameters

  • item [in]
    The integer item to remove from the collection.

  • pIsRemoved [out]
    Is VARIANT_TRUE if the item is found and removed from the collection; otherwise, VARIANT_FALSE.

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::Add

IIntCollection::Clear