DocumentBase.Container Property
Gets the container application for the document.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
'Declaration
Public ReadOnly Property Container As Object
public Object Container { get; }
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.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.