Lire en anglais

Partager via


ModelExplorerTreeContainer.CurrentParentElement Property

Gets the parent element of the element that is selected in Model Explorer.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

protected ModelElement CurrentParentElement { get; }

Property Value

Type: Microsoft.VisualStudio.Modeling.ModelElement
The parent element of the element that is selected in Model Explorer; if the element has no parent, nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

ModelExplorerTreeContainer Class

Microsoft.VisualStudio.Modeling.Shell Namespace