PresentationViewsSubject::GetLinkToSubject Method (PresentationElement^)

 

Get the PresentationViewsSubject link from a PresentationElement to the domain model element that it displays. You can also use PresentationElement.ModelElement.

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

public:
static PresentationViewsSubject^ GetLinkToSubject(
	PresentationElement^ presentationInstance
)

Usually you would use ModelElement to traverse the link in this direction.

Return to top
Show: