RoleTreeNode Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Model explorer node displayed that displays a relationship with Cardinality of One.
public ref class RoleTreeNode : Microsoft::VisualStudio::Modeling::Shell::ElementTreeNode
public class RoleTreeNode : Microsoft.VisualStudio.Modeling.Shell.ElementTreeNode
type RoleTreeNode = class
inherit ElementTreeNode
Public Class RoleTreeNode
Inherits ElementTreeNode
- Inheritance
Constructors
RoleTreeNode(DomainRoleInfo) |
Constructor |
Properties
Container |
The explorer tree container hosting this node (Inherited from ExplorerTreeNode) |
DefaultImageIndex |
Get/Set the index into the TreeView image list to be used for the icon representing this node if not overridden by an icon based on the node content (Inherited from ExplorerTreeNode) |
Disposed |
Whether or not this node has been explicitly disposed of (Inherited from ExplorerTreeNode) |
KeepNode |
Used to prune tree during updates (Inherited from ExplorerTreeNode) |
RepresentedElement |
The ModelElement this node represents (if any) (Inherited from ExplorerTreeNode) |
RepresentedRole |
The domain role this node represents |
RoleInfo |
Obsolete.
Read-only accessor for role being shown |
RolePlayer |
Accessor for element currently playing the role shown. |
ShowDomainClass |
Get/Set whether to show the DomainClass Name right after the ModelElement name (e.g "foo (Foo)" in the tree node text) May be ignored if the node type does not represent model elements (Inherited from ElementTreeNode) |
Methods
Dispose() | (Inherited from ExplorerTreeNode) |
Dispose(Boolean) |
Override Dispose to unhook observation of element name changes (Inherited from ElementTreeNode) |
GetRepresentedElement() | (Inherited from ElementTreeNode) |
ProvideNodeText() |
Suppply the text for the node |
SetRepresentedElement(ModelElement) | (Inherited from ElementTreeNode) |
Update() |
Force an update of the node's visual representation, i.e. text and icon (Inherited from ElementTreeNode) |
UpdateNodeText() |
Force an update of the text of the node (Inherited from ExplorerTreeNode) |