Compartir a través de


ModelExplorerTreeContainer.FindNodeForElement(ModelElement) Method

Definition

Finds the tree node in the model explorer corresponding to the given ModelElement. If the element does not have a corresponding node in the tree, this method returns null.

public:
 virtual Microsoft::VisualStudio::Modeling::Shell::ExplorerTreeNode ^ FindNodeForElement(Microsoft::VisualStudio::Modeling::ModelElement ^ element);
public virtual Microsoft.VisualStudio.Modeling.Shell.ExplorerTreeNode FindNodeForElement (Microsoft.VisualStudio.Modeling.ModelElement element);
abstract member FindNodeForElement : Microsoft.VisualStudio.Modeling.ModelElement -> Microsoft.VisualStudio.Modeling.Shell.ExplorerTreeNode
override this.FindNodeForElement : Microsoft.VisualStudio.Modeling.ModelElement -> Microsoft.VisualStudio.Modeling.Shell.ExplorerTreeNode
Public Overridable Function FindNodeForElement (element As ModelElement) As ExplorerTreeNode

Parameters

element
ModelElement

Returns

Applies to