共用方式為


ExplorerTreeNode.SetRepresentedElement(ModelElement) Method

Definition

Set the ModelElement that this node represents.

protected:
 virtual void SetRepresentedElement(Microsoft::VisualStudio::Modeling::ModelElement ^ element);
protected virtual void SetRepresentedElement (Microsoft.VisualStudio.Modeling.ModelElement element);
abstract member SetRepresentedElement : Microsoft.VisualStudio.Modeling.ModelElement -> unit
override this.SetRepresentedElement : Microsoft.VisualStudio.Modeling.ModelElement -> unit
Protected Overridable Sub SetRepresentedElement (element As ModelElement)

Parameters

element
ModelElement

The ModelElement to which this node is uniquely mapped

Applies to