_Document.Container Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the object that represents the container application for the specified OLE object.
public:
property System::Object ^ Container { System::Object ^ get(); };
public object Container { get; }
member this.Container : obj
Public ReadOnly Property Container As Object
Property Value
Remarks
This property provides access to the specified document's container application if the document is embedded in another application as an OLE object.
The Container property also provides a pathway into the object model of the container application if a Word document is opened as an ActiveX document — for example, when a Word document is opened in Internet Explorer.