Share via


Document.Container Property

Gets the container application for the document.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
ReadOnly Property Container As Object
Object Container { get; }

Property Value

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

Remarks

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

.NET Framework Security

See Also

Reference

Document Interface

Microsoft.Office.Tools.Word Namespace