OLEObject.Application Property (2007 System)
Gets the creator of the OLEObject.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.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; }
public:
property Application^ Application {
Application^ get ();
}
public function get Application () : Application
Property Value
Type: 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.
.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.