Export (0) Print
Expand All

IFsrmCollection::Item property

Retrieves the requested item from the collection.

This property is read-only.

Syntax


HRESULT get_Item(
  [in]   long index,
  [out]  VARIANT *item
);

Property value

The item. The VARIANT pointed to by this parameter must have been initialized using VariantInit.

Error codes

The method returns the following return values.

NameMeaning
S_OK

Success.

E_POINTER

The item parameter is NULL.

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

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

Fsrm.h (include FsrmQuota.h, FsrmReports.h, or FsrmScreen.h)

DLL

SrmSvc.dll

IID

IID_IFsrmCollection is defined as:
  • f76fbf3b-8ddd-4b42-b05a-cb1c3ff1fee8
  • f76fbf3b-8ddd-4b42-b05a-cb1c3ff1fee8

See also

IFsrmCollection

 

 

Show:
© 2015 Microsoft