Bagikan melalui


OLEObject.Parent Property (2007 System)

Gets the parent object for 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 Parent As Object
'Usage
Dim instance As OLEObject 
Dim value As Object 

value = instance.Parent
public Object Parent { get; }
public:
property Object^ Parent {
    Object^ get ();
}
public function get Parent () : Object

Property Value

Type: System.Object
A Worksheet that represents the parent object for the OLEObject.

.NET Framework Security

See Also

Reference

OLEObject Class

OLEObject Members

Microsoft.Office.Tools.Excel Namespace