This documentation is archived and is not being maintained.

Container Property

Returns an IDispatch interface on the ActiveX container in which the document is contained or Nothing if the document is not in a container. Read-only.

Version Added: Visio 2000

expression .Container

expression A variable that represents a Document object.

Return Value

Object

The interface returned is the result of querying the IOleContainer interface provided by the containing object for IDispatch.

Show: