ElementFactory.CreateElementLink Method (DomainRelationshipInfo, Boolean, array<RoleAssignment )

Creates a new element link.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Syntax

'Declaration
Public Function CreateElementLink ( _
    domainRelationship As DomainRelationshipInfo, _
    bypassDemandLoading As Boolean, _
    ParamArray roleAssignments As RoleAssignment() _
) As ElementLink
public ElementLink CreateElementLink(
    DomainRelationshipInfo domainRelationship,
    bool bypassDemandLoading,
    params RoleAssignment[] roleAssignments
)
public:
ElementLink^ CreateElementLink(
    DomainRelationshipInfo^ domainRelationship, 
    bool bypassDemandLoading, 
    ... array<RoleAssignment^>^ roleAssignments
)
member CreateElementLink : 
        domainRelationship:DomainRelationshipInfo * 
        bypassDemandLoading:bool * 
        roleAssignments:RoleAssignment[] -> ElementLink
public function CreateElementLink(
    domainRelationship : DomainRelationshipInfo, 
    bypassDemandLoading : boolean, 
    ... roleAssignments : RoleAssignment[]
) : ElementLink

Parameters

  • bypassDemandLoading
    Type: System.Boolean

    true to bypass demand loading; otherwise, false.

Return Value

Type: Microsoft.VisualStudio.Modeling.ElementLink
The element link.

.NET Framework Security

See Also

Reference

ElementFactory Class

CreateElementLink Overload

Microsoft.VisualStudio.Modeling Namespace