IWDTFTargets2::Clear method

Removes all items from the collection.

Syntax


HRESULT Clear();

Parameters

This method has no parameters.

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 clear all items from a collection, the items are not destroyed.

Requirements

Minimum supported client

Windows XP Professional

Minimum supported server

Windows Server 2008

Target platform

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: