Share via


Document.Container Property (2007 System)

Gets the container application for the document.

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

Syntax

'Declaration
Public ReadOnly Property Container As Object
'Usage
Dim instance As Document 
Dim value As Object 

value = instance.Container
public Object Container { get; }
public:
property Object^ Container {
    Object^ get ();
}
public function get Container () : Object

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 Class

Document Members

Microsoft.Office.Tools.Word Namespace