IFsrmMutableCollection::Add method (fsrm.h)

Adds an object to the collection.

Syntax

HRESULT Add(
  [in] VARIANT item
);

Parameters

[in] item

A VARIANT that contains the IDispatch interface of the object to add to the collection. Set the variant type to VT_DISPATCH and the pdispVal member to the IDispatch interface of the object.

Return value

The method returns the following return values.

Remarks

All items in the collection must be of the same type.

Examples

For an example, see Using Templates to Define File Screens.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows ServerĀ 2008
Target Platform Windows
Header fsrm.h (include FsrmQuota.h, FsrmReports.h, FsrmScreen.h)
DLL SrmSvc.dll

See also

IFsrmMutableCollection