Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets 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
'Declaration
Protected ReadOnly Property SelectedElement As ModelElement
Get
protected ModelElement SelectedElement { get; }
protected:
property ModelElement^ SelectedElement {
ModelElement^ get ();
}
member SelectedElement : ModelElement
function get SelectedElement () : ModelElement
Property Value
Type: Microsoft.VisualStudio.Modeling.ModelElement
The element that is selected in Model Explorer; if no element is selected, nulla null reference (Nothing in Visual Basic).
Remarks
This method is protected, and only the derived child class can access it.
.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.