AttributedDomainElementHasAttributes Constructor (Partition, array<RoleAssignment )
Constructor
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Syntax
'Declaration
Public Sub New ( _
partition As Partition, _
ParamArray roleAssignments As RoleAssignment() _
)
public AttributedDomainElementHasAttributes(
Partition partition,
params RoleAssignment[] roleAssignments
)
public:
AttributedDomainElementHasAttributes(
Partition^ partition,
... array<RoleAssignment^>^ roleAssignments
)
new :
partition:Partition *
roleAssignments:RoleAssignment[] -> AttributedDomainElementHasAttributes
public function AttributedDomainElementHasAttributes(
partition : Partition,
... roleAssignments : RoleAssignment[]
)
Parameters
partition
Type: Microsoft.VisualStudio.Modeling.PartitionPartition where new link is to be created.
roleAssignments
Type: array<Microsoft.VisualStudio.Modeling.RoleAssignment[]List of relationship role assignments.
.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.
See Also
Reference
AttributedDomainElementHasAttributes Class