Megosztás a következőn keresztül:


Globals.Parent Property

Gets the immediate parent object of a Globals object.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Syntax

'Declaration
ReadOnly Property Parent As Object
Object Parent { get; }
property Object^ Parent {
    Object^ get ();
}
abstract Parent : Object with get
function get Parent () : Object

Property Value

Type: System.Object
An object representing the parent object.

Remarks

The Parent property returns the immediate parent to the object or collection. In this case, it returns the DTE object.

.NET Framework Security

See Also

Reference

Globals Interface

EnvDTE Namespace

Other Resources

Persisting Information in Projects and Solutions

How to: Compile and Run the Automation Object Model Code Examples