Remove method

The Remove method removes a single item from the ITargetscollection.

Syntax

HRESULT Remove(
  [in]  ITarget *pTarget
);

Parameters

  • pTarget [in]
    The item to remove from this collection

Return value

Remove returns a standard HRESULT value.

Remarks

The lifetime of ITarget interface instances are tied to their creator. If you remove an item from the collection, the ITarget interface is not destroyed.

See also

ITarget

ITargets

 

 

Send comments about this topic to Microsoft

Build date: 1/12/2012