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
- nIndex
- Data type: longQualifiers: [in]1-based index of the CacheElement Class object in the collection. Valid indexes are 1 to the ICacheElements::Count Property.
- pVal
- Data type: ICacheElementQualifiers: [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
Send comments about this topic to Microsoft.