The IClientComponents::Item method, in Configuration Manager, accesses a specific IClientComponent Client COM Automation Interface object by index in the collection.
[IDL] HRESULT Item( long Index, IClientComponent** pItem ); |
Parameters
- Index
- Data type: longQualifiers: [in]1-based index of the IClientComponent Client COM Automation Interface object in the collection. Valid indexes are 1 to IClientComponents::Count Property.
- pVal
- Data type: IClientComponentQualifiers: [out, retval]Pointer to the IClientComponent Client COM Automation Interface object at the specified index.
Return Values
An HRESULT code. Possible values include, but are not limited to, the following:
- S_OK
- The method succeeded.
Requirements
CPApplet.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.