次の方法で共有


PresentationViewsSubject.SetSubject(PresentationElement, ModelElement) Method

Definition

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

newSubject
ModelElement
Attributes

Applies to