PresentationViewsSubject Constructor (Partition, array<RoleAssignment )
Construct the relationship in a given partition.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
声明
Public Sub New ( _
partition As Partition, _
ParamArray roleAssignments As RoleAssignment() _
)
public PresentationViewsSubject(
Partition partition,
params RoleAssignment[] roleAssignments
)
public:
PresentationViewsSubject(
Partition^ partition,
... array<RoleAssignment^>^ roleAssignments
)
new :
partition:Partition *
roleAssignments:RoleAssignment[] -> PresentationViewsSubject
public function PresentationViewsSubject(
partition : Partition,
... roleAssignments : RoleAssignment[]
)
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.
.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