Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets an item from the collection.
Syntax
virtual HRESULT GetItem(
[in] INT index,
[out] ErrorWarning **errorWarning
) = 0;
Parameters
-
index [in]
-
The item identifier.
-
errorWarning [out]
-
A double pointer to receive a pointer to the item.
Return value
If the function succeeds, it returns S_OK. If it fails, it returns an error value.
Remarks
index ranges from 0 to one less than the count of items in the collection.
Requirements
| Minimum supported client |
Windows 7 [desktop apps only] |
| Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
| Header |
|
| DLL |
|