IWDTFTargets2::Remove method

Removes an item from the collection.

Syntax


HRESULT Remove(
  [in] IWDTFTarget2 *pTarget
);

Parameters

pTarget [in]

The item to remove from this collection.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

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

Requirements

Minimum supported client

Windows XP Professional

Minimum supported server

Windows Server 2008

Target platform

Desktop

Namespace

Microsoft.WDTF

Assembly

WDTF.Interop.metadata_dll

Header

WDTF.h

IDL

WDTF.idl

See also

IWDTFTargets2

 

 

Send comments about this topic to Microsoft

Show: