IWDTFActions2::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 IWDTFAction2 interface instances are tied to their creator. If you clear all items from a collection, the items are not destroyed.

Requirements

Target platform

Desktop

IDL

Wdtf.idl

See also

IWDTFActions2

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft