Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates a new instance of the ElementLink class.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Syntax
'Declaration
Protected Sub New ( _
partition As Partition, _
roleAssignments As RoleAssignment(), _
propertyAssignments As PropertyAssignment() _
)
protected ElementLink(
Partition partition,
RoleAssignment[] roleAssignments,
PropertyAssignment[] propertyAssignments
)
protected:
ElementLink(
Partition^ partition,
array<RoleAssignment^>^ roleAssignments,
array<PropertyAssignment^>^ propertyAssignments
)
new :
partition:Partition *
roleAssignments:RoleAssignment[] *
propertyAssignments:PropertyAssignment[] -> ElementLink
protected function ElementLink(
partition : Partition,
roleAssignments : RoleAssignment[],
propertyAssignments : PropertyAssignment[]
)
Parameters
partition
Type: Microsoft.VisualStudio.Modeling.PartitionThe partition containing this ElementLink.
roleAssignments
Type: array<Microsoft.VisualStudio.Modeling.RoleAssignment[]Specifies the model elements that should be connected to the roles.
propertyAssignments
Type: array<Microsoft.VisualStudio.Modeling.PropertyAssignment[]Specifies values for the properties of this link.
.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.