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.
Construct the relationship with property assignments
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 Sub New ( _
partition As Partition, _
roleAssignments As RoleAssignment(), _
propertyAssignments As PropertyAssignment() _
)
public PresentationViewsSubject(
Partition partition,
RoleAssignment[] roleAssignments,
PropertyAssignment[] propertyAssignments
)
public:
PresentationViewsSubject(
Partition^ partition,
array<RoleAssignment^>^ roleAssignments,
array<PropertyAssignment^>^ propertyAssignments
)
new :
partition:Partition *
roleAssignments:RoleAssignment[] *
propertyAssignments:PropertyAssignment[] -> PresentationViewsSubject
public function PresentationViewsSubject(
partition : Partition,
roleAssignments : RoleAssignment[],
propertyAssignments : PropertyAssignment[]
)
Parameters
- partition
Type: Microsoft.VisualStudio.Modeling.Partition
Partition where new link is to be created.
- roleAssignments
Type: array<Microsoft.VisualStudio.Modeling.RoleAssignment[]
List of relationship role assignments.
- propertyAssignments
Type: array<Microsoft.VisualStudio.Modeling.PropertyAssignment[]
List of properties assignments to set on the new 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.
See Also
Reference
PresentationViewsSubject Class