Home > All Other Interfaces > IContainers > GetContainer
Returns an interface to a container based on the container ID.
JavaScript |
|
GetContainer( Index) |
C# |
|
IContainerItem6 GetContainer( int Index) |
C++ |
|
HRESULT GetContainer( long Index, IContainerItem6** pContainerItem) |
Parameters
Index
The zero-based index of the container the client wants to retrieve.
Return Value
pContainerItem
An IContainerItem6 representing the container object.
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.