Export (0) Print
Expand All
0 out of 2 rated this helpful - Rate this topic

IOleContainer interface

Enumerates objects in a compound document or lock a container in the running state. Container and object applications both implement this interface.

When to implement

Applications that support links and links to embedded objects implement this interface to provide object enumeration, name parsing, and silent updates of link sources. Simple, nonlinking containers do not need to implement IOleContainer if it is useful mainly to support links to embedded objects.

When to use

Note  This interface is not supported for use across machine boundaries.

Call IOleContainer to enumerate the objects in a compound document or to lock a container so that silent updates of link sources can occur without interruption until the container is explicitly released.

Many applications inherit the functions of IOleContainer by implementing IOleItemContainer, which is used to bind item monikers.

Members

The IOleContainer interface inherits from IParseDisplayName. IOleContainer also has these types of members:

Methods

The IOleContainer interface has these methods.

MethodDescription
EnumObjects

Enumerates the objects in the current container.

LockContainer

Keeps the container for embedded objects running until explicitly released.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

OleIdl.h

IDL

OleIdl.Idl

IID

IID_IOleContainer is defined as 0000011b-0000-0000-C000-000000000046

See also

IOleItemContainer
IParseDisplayName

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.