Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets the parent element of the element that is selected in Model Explorer.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)
Syntax
'Declaration
Protected ReadOnly Property CurrentParentElement As ModelElement
protected ModelElement CurrentParentElement { get; }
protected:
property ModelElement^ CurrentParentElement {
ModelElement^ get ();
}
member CurrentParentElement : ModelElement with get
function get CurrentParentElement () : ModelElement
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
- 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.