Udostępnij za pośrednictwem


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

See Also

Reference

Workbook Class

Workbook Members

Microsoft.Office.Tools.Excel Namespace