PresentationViewsSubject Constructor (PresentationElement^, ModelElement^)

 

Creates a PresentationViewsSubject link in the same Partition as the given PresentationElement

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
PresentationViewsSubject(
	PresentationElement^ source,
	ModelElement^ target
)

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.

Return to top
Show: