OLEObject.Application Property (2003 System)
Gets the creator of the OLEObject.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Syntax
'Declaration
Public ReadOnly Property Application As Application
'Usage
Dim instance As OLEObject
Dim value As Application
value = instance.Application
public Application Application { get; }
Property Value
Type: Microsoft.Office.Interop.Excel.Application
An Application object that represents the creator of the OLEObject.
Remarks
You can use this property with an OLE Automation object to return the application of that object.
Permissions
- 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.