IPrograms::Item is a read-only property, in Configuration Manager, that accesses a specific Program Class object by index in the collection.

[IDL]
HRESULT Item([in] long nIndex, [out, retval] IProgram** pVal);

Parameters

nIndex


Data type: longQualifiers: [in]1-based index of the Program Class object in the collection. Valid indexes are 1 to the value of the IPrograms::Count Property.
pVal


Data type: IProgramQualifiers: [out, retval]Pointer to the Program 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

Development Requirements

See Also

Reference

Programs Class


Send comments about this topic to Microsoft.