Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates a tree node that contains a group of subnodes for the element that is in the relationship as the 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 CreateRoleTreeNode ( _
    targetRoleInfo As DomainRoleInfo _
) As RoleTreeNode
public virtual RoleTreeNode CreateRoleTreeNode(
    DomainRoleInfo targetRoleInfo
)
public:
virtual RoleTreeNode^ CreateRoleTreeNode(
    DomainRoleInfo^ targetRoleInfo
)
abstract CreateRoleTreeNode : 
        targetRoleInfo:DomainRoleInfo -> RoleTreeNode  
override CreateRoleTreeNode : 
        targetRoleInfo:DomainRoleInfo -> RoleTreeNode
public function CreateRoleTreeNode(
    targetRoleInfo : DomainRoleInfo
) : RoleTreeNode
Parameters
- targetRoleInfo 
 Type: Microsoft.VisualStudio.Modeling.DomainRoleInfo- Information about the element that is in the relationship as the target role. 
Return Value
Type: Microsoft.VisualStudio.Modeling.Shell.RoleTreeNode
The node.
Remarks
You can use this method if a source role can have only 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.