Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Finds the node to which the element is assigned in Model Explorer.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaration
Public Overridable Function FindNodeForElement ( _
element As ModelElement _
) As ExplorerTreeNode
public virtual ExplorerTreeNode FindNodeForElement(
ModelElement element
)
public:
virtual ExplorerTreeNode^ FindNodeForElement(
ModelElement^ element
)
abstract FindNodeForElement :
element:ModelElement -> ExplorerTreeNode
override FindNodeForElement :
element:ModelElement -> ExplorerTreeNode
public function FindNodeForElement(
element : ModelElement
) : ExplorerTreeNode
Parameters
- element
Type: Microsoft.VisualStudio.Modeling.ModelElement
The element.
Return Value
Type: Microsoft.VisualStudio.Modeling.Shell.ExplorerTreeNode
The node that is assigned to the element; if the element is not assigned to a node, null.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.