ISdoCollection::Item method (sdoias.h)
The Item method retrieves the specified item from the collection.
Syntax
HRESULT Item(
[in] VARIANT *Name,
[out] IDispatch **pItem
);
Parameters
[in] Name
Pointer to a VARIANT. Store the name of the object in a BSTR in this VARIANT.
[out] pItem
Pointer to an interface pointer that receives the address of an IDispatch interface for the object.
Return value
If the method succeeds the return value is S_OK.
If the object is not found in the collection, the return value is DISP_E_MEMBERNOTFOUND.
Otherwise, if the method fails, the return value is one of the following error codes.
Remarks
Neither of the parameters can be NULL.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | sdoias.h |
DLL | Iassdo.dll |