ModelExplorerTreeContainer.FindNodeForElement(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.
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