Condividi tramite


Metodo ElementFactory.CreateElementLink (DomainRelationshipInfo, array<PropertyAssignment[], array<RoleAssignment )

Crea un nuovo collegamento all'elemento.

Spazio dei nomi:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Sintassi

'Dichiarazione
Public Function CreateElementLink ( _
    domainRelationship As DomainRelationshipInfo, _
    propertyAssignments As PropertyAssignment(), _
    ParamArray roleAssignments As RoleAssignment() _
) As ElementLink
public ElementLink CreateElementLink(
    DomainRelationshipInfo domainRelationship,
    PropertyAssignment[] propertyAssignments,
    params RoleAssignment[] roleAssignments
)

Parametri

Valore restituito

Tipo: Microsoft.VisualStudio.Modeling.ElementLink
Il collegamento dell'elemento.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

ElementFactory Classe

Overload CreateElementLink

Spazio dei nomi Microsoft.VisualStudio.Modeling