PresentationElement::Subject Property

 

Gets or sets the subject for the presentation element. Defaults to the same object as ModelElement.

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

public:
property ModelElement^ Subject {
	virtual ModelElement^ get();
	virtual void set(ModelElement^ value);
}

By default, Subject has the same effect as ModelElement. Both properties get and set the PresentationViewsSubject relationship from the presentation element to a domain model element. But you can override this property to manage a different relationship.

Return to top
Show: