HierarchyNode.FindChildByProjectElement Method

Finds a non-virtual hierarchy element (a node with a build item) by its project element.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Public Function FindChildByProjectElement ( _
    node As ProjectElement _
) As HierarchyNode
'使用
Dim instance As HierarchyNode
Dim node As ProjectElement
Dim returnValue As HierarchyNode

returnValue = instance.FindChildByProjectElement(node)
public HierarchyNode FindChildByProjectElement(
    ProjectElement node
)
public:
HierarchyNode^ FindChildByProjectElement(
    ProjectElement^ node
)
public function FindChildByProjectElement(
    node : ProjectElement
) : HierarchyNode

Parameters

Return Value

Type: Microsoft.VisualStudio.Package.HierarchyNode

The node if found; otherwise, a null reference (Nothing in Visual Basic).

Remarks

This method iterates through all the children of the present node to find the relevant node.

Permissions

See Also

Reference

HierarchyNode Class

HierarchyNode Members

Microsoft.VisualStudio.Package Namespace