Udostępnij za pośrednictwem


Commands.Parent Property

Gets the immediate parent object of a Commands collection.

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

Syntax

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

Property Value

Type: EnvDTE.DTE
A DTE object.

Remarks

The Parent property returns the immediate parent to the object or collection.

.NET Framework Security

See Also

Reference

Commands Interface

EnvDTE Namespace

Other Resources

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