共用方式為


ExplorerTreeNode.GetRepresentedElement Method

Definition

Get the ModelElement that this node represents, if any.

protected:
 virtual Microsoft::VisualStudio::Modeling::ModelElement ^ GetRepresentedElement();
protected virtual Microsoft.VisualStudio.Modeling.ModelElement GetRepresentedElement ();
abstract member GetRepresentedElement : unit -> Microsoft.VisualStudio.Modeling.ModelElement
override this.GetRepresentedElement : unit -> Microsoft.VisualStudio.Modeling.ModelElement
Protected Overridable Function GetRepresentedElement () As ModelElement

Returns

The ModelElement to which this node is uniquely mapped or null

Applies to