ModelExplorerTreeContainer.CreateRoleGroupTreeNode Method
Creates a tree node that contains a group of subnodes for each element that is in the relationship as a target role.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaração
Public Overridable Function CreateRoleGroupTreeNode ( _
targetRoleInfo As DomainRoleInfo _
) As RoleGroupTreeNode
public virtual RoleGroupTreeNode CreateRoleGroupTreeNode(
DomainRoleInfo targetRoleInfo
)
public:
virtual RoleGroupTreeNode^ CreateRoleGroupTreeNode(
DomainRoleInfo^ targetRoleInfo
)
abstract CreateRoleGroupTreeNode :
targetRoleInfo:DomainRoleInfo -> RoleGroupTreeNode
override CreateRoleGroupTreeNode :
targetRoleInfo:DomainRoleInfo -> RoleGroupTreeNode
public function CreateRoleGroupTreeNode(
targetRoleInfo : DomainRoleInfo
) : RoleGroupTreeNode
Parameters
- targetRoleInfo
Type: Microsoft.VisualStudio.Modeling.DomainRoleInfo
Information about the element that is in the relationship as a target role.
Return Value
Type: Microsoft.VisualStudio.Modeling.Shell.RoleGroupTreeNode
The node.
Remarks
This method is available if a source role can have more than one target role.
Role multiplicity can be 1 or 0..1.
.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.