IWDTFActions2::Clear method (wdtf.h)
Removes all items from the collection.
Syntax
HRESULT Clear();
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
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | wdtf.h |