IFsrmCollection::get_Item method (fsrm.h)

Retrieves the requested item from the collection.

This property is read-only.

Syntax

HRESULT get_Item(
  long    index,
  VARIANT *item
);

Parameters

index

item

Return value

None

Remarks

If the item is an interface, the variant type is VT_DISPATCH. Call the QueryInterface method on the pdispVal member of the variant to get an interface to the specific object.

If the item is an HRESULT value, the variant type is VT_I4. Use the lVal member of the variant to get the HRESULT value.

Examples

For examples, see Updating a File Screen and Classifying Files.

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

IFsrmCollection