IFolderActionCollection::Add method (pla.h)

Adds a folder action to the collection.

Syntax

HRESULT Add(
  [in] IFolderAction *Action
);

Parameters

[in] Action

An IFolderAction interface of the action to add to the collection.

Return value

Returns S_OK if successful.

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::AddRange

IFolderActionCollection::Remove