PresentationViewsSubject.SetSubject(PresentationElement, ModelElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets Subject.
public:
static void SetSubject(Microsoft::VisualStudio::Modeling::Diagrams::PresentationElement ^ element, Microsoft::VisualStudio::Modeling::ModelElement ^ newSubject);
[System.Diagnostics.DebuggerStepThrough]
public static void SetSubject (Microsoft.VisualStudio.Modeling.Diagrams.PresentationElement element, Microsoft.VisualStudio.Modeling.ModelElement newSubject);
[<System.Diagnostics.DebuggerStepThrough>]
static member SetSubject : Microsoft.VisualStudio.Modeling.Diagrams.PresentationElement * Microsoft.VisualStudio.Modeling.ModelElement -> unit
Public Shared Sub SetSubject (element As PresentationElement, newSubject As ModelElement)
Parameters
- element
- PresentationElement
- newSubject
- ModelElement
- Attributes