Partilhar via


ICacheElements::Item Method

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

The ICacheElements::Item method accesses a specific CacheElement Class object by index in the collection, in Configuration Manager.

[IDL]
HRESULT Item(
      long nIndex, 
     ICacheElement** pVal
);

Parameters

  • pVal
    Data type: ICacheElement

    Qualifiers: [out, retval]

    Pointer to the CacheElement object at the given index.

Return Values

An HRESULT code. Possible values include, but are not limited to, the following:

  • S_OK
    The method succeeded.

Requirements

UIResource.dll.

Runtime Requirements

For more information, see Configuration Manager Client Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Client Development Requirements.

See Also

Concepts

CacheElements Class