PresentationViewsSubject Constructor (PresentationElement^, ModelElement^)
Visual Studio 2015
Creates a PresentationViewsSubject link in the same Partition as the given PresentationElement
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Parameters
- source
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::PresentationElement^
PresentationElement to use as the source of the relationship.
- target
-
Type:
Microsoft.VisualStudio.Modeling::ModelElement^
ModelElement to use as the target of the relationship.
Presentation elements and PresentationViewsSubject links are usually created in a separate Partitionfrom the domain model elements.
You can also construct this relationship by setting the Model property in the PresentationElement.
Show: