Share via


IStringCollection::Remove method

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

Syntax

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

Parameters

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

Is VARIANT_TRUE if the item is found and removed from the collection; otherwise, VARIANT_FALSE.

Requirements

Product

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

Type library

Microsoft.Hpc.Scheduler.tlb

See also

IStringCollection

IStringCollection::Add

IStringCollection::Clear