_Workbook.Container Property

Returns the object that represents the container application for the specified OLE object. Read-only Object.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
ReadOnly Property Container As Object
    Get
'Usage
Dim instance As _Workbook
Dim value As Object

value = instance.Container
Object Container { get; }

Property Value

Type: System.Object

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.

See Also

Reference

_Workbook Interface

_Workbook Members

Microsoft.Office.Interop.Excel Namespace