PresentationElement.Subject Property
Gets or sets the subject for the presentation element. Defaults to the same object as ModelElement.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
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.
- 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.