Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Container Property
Collapse the table of content
Expand the table of content

Document.Container Property

Gets the container application for the document.

Namespace:  Microsoft.Office.Tools.Word
Assemblies:   Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Object Container { get; }

Property Value

Type: System.Object
The container application for the document.

This property provides access to the specified document's container application if the document is embedded in another application as an OLE object.

© 2015 Microsoft