PresentationViewsSubject::GetLinkToSubject Method (PresentationElement^)
Visual Studio 2015
Get the PresentationViewsSubject link from a PresentationElement to the domain model element that it displays. You can also use PresentationElement.ModelElement.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public: static PresentationViewsSubject^ GetLinkToSubject( PresentationElement^ presentationInstance )
Parameters
- presentationInstance
- Type: Microsoft.VisualStudio.Modeling.Diagrams::PresentationElement^
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams::PresentationViewsSubject^Usually you would use ModelElement to traverse the link in this direction.
Show: