Document.Container Property

Visio Automation Reference

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 Information
 Version Added:  Visio 2000

Syntax

expression.Container

expression   A variable that represents a Document object.

Return Value
Object

Remarks

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

Example

Visual Basic for Applications
  

See Also