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 an element link of specified type.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Overrides NotOverridable Function CreateElementLink ( _
partition As Partition, _
elementLinkType As Type, _
roleAssignments As RoleAssignment(), _
propertyAssignments As PropertyAssignment() _
) As ElementLink
public override sealed ElementLink CreateElementLink(
Partition partition,
Type elementLinkType,
RoleAssignment[] roleAssignments,
PropertyAssignment[] propertyAssignments
)
public:
virtual ElementLink^ CreateElementLink(
Partition^ partition,
Type^ elementLinkType,
array<RoleAssignment^>^ roleAssignments,
array<PropertyAssignment^>^ propertyAssignments
) override sealed
abstract CreateElementLink :
partition:Partition *
elementLinkType:Type *
roleAssignments:RoleAssignment[] *
propertyAssignments:PropertyAssignment[] -> ElementLink
override CreateElementLink :
partition:Partition *
elementLinkType:Type *
roleAssignments:RoleAssignment[] *
propertyAssignments:PropertyAssignment[] -> ElementLink
public override final function CreateElementLink(
partition : Partition,
elementLinkType : Type,
roleAssignments : RoleAssignment[],
propertyAssignments : PropertyAssignment[]
) : ElementLink
Parameters
- partition
Type: Microsoft.VisualStudio.Modeling.Partition
Partition where element is to be created.
- elementLinkType
Type: System.Type
Element link type which belongs to this domain model.
- roleAssignments
Type: array<Microsoft.VisualStudio.Modeling.RoleAssignment[]
List of relationship role assignments for the new link.
- propertyAssignments
Type: array<Microsoft.VisualStudio.Modeling.PropertyAssignment[]
New element property assignments.
Return Value
Type: Microsoft.VisualStudio.Modeling.ElementLink
.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.