Delen via


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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
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

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

See Also

Reference

ModelExplorerTreeContainer Class

Microsoft.VisualStudio.Modeling.Shell Namespace