IFolderActionCollection::Remove method (pla.h)

Removes a folder action from the collection based on the specified index.

Syntax

HRESULT Remove(
  [in] VARIANT Index
);

Parameters

[in] Index

The zero-based index of the folder action to remove from the collection. The variant type can be VT_I4, VT_UI4, or VT_DISPATCH.

Return value

Returns S_OK if successful.

Remarks

If the variant type is VT_DISPATCH, pass the IDispatch interface of the IFolderAction interface to be removed.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header pla.h
DLL Pla.dll

See also

IFolderActionCollection

IFolderActionCollection::Add

IFolderActionCollection::Clear