PresentationViewsSubject::SetSubject Method (PresentationElement^, ModelElement^)

 

Sets the model element that is displayed by the presentation element.

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

public:
static void SetSubject(
	PresentationElement^ element,
	ModelElement^ newSubject
)
Return to top
Show: