ModelExplorerTreeContainer.SelectedRole Property
Gets the role 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 SelectedRole As DomainRoleInfo
protected DomainRoleInfo SelectedRole { get; }
protected:
property DomainRoleInfo^ SelectedRole {
DomainRoleInfo^ get ();
}
member SelectedRole : DomainRoleInfo with get
function get SelectedRole () : DomainRoleInfo
Property Value
Type: Microsoft.VisualStudio.Modeling.DomainRoleInfo
The role that is selected in Model Explorer; if no role is selected, nulla null reference (Nothing in Visual Basic).
Remarks
A role describes one end of a binary relationship.
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.