GetContainer

Returns an interface to a container based on the container ID.

JavaScript

 

GetContainer(

       Index)

 

C#

 

IContainerItem80 GetContainer(

       int Index)

 

C++

 

HRESULT GetContainer(

       long Index,

       IContainerItem80** pContainerItem)

Parameters

Index

The zero-based index of the container the client wants to retrieve.

Return Value

pContainerItem

An IContainerItem80 representing the container object.

Exceptions

See: HRESULT Return Values for a list of possible values returned by the HRESULT.