Workbook.Container Property (2007 System)
Gets the object that represents the container application for the workbook.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property Container As Object
'Usage
Dim instance As Workbook
Dim value As Object
value = instance.Container
[BrowsableAttribute(false)]
public Object Container { get; }
[BrowsableAttribute(false)]
public:
property Object^ Container {
Object^ get ();
}
public function get Container () : Object
Property Value
Type: System.Object
The object that represents the container application for the workbook.
Remarks
This property provides a way to access the object model of the container application if an Excel workbook is opened within a host application such as Microsoft Internet Explorer.
.NET Framework Security
- 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.