BaseNode.FindFirstChildWithName Method
- 更新时间2023-02-21
- 阅读时长2分钟
Gets the first child node with the specified name.
Namespace:
NationalInstruments.VeriStand.SystemDefinitionAPIAssembly: NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
| Visual Basic (Declaration) |
|---|
Public Function FindFirstChildWithName ( _ Name As String, _ <OutAttribute> ByRef Child As BaseNode, _ DeepHierarchy As Boolean _ ) As Boolean |
| C# |
|---|
public bool FindFirstChildWithName( string Name, out BaseNode Child, bool DeepHierarchy ) |
| Visual C++ |
|---|
public: bool FindFirstChildWithName( String^ Name, [OutAttribute] BaseNode^% Child, bool DeepHierarchy ) |
Parameters
- Name
- Type: System.String
The name of the node to find.
- Child
- Type:
NationalInstruments.VeriStand.SystemDefinitionAPI.BaseNode
%
Upon return, contains the child node, or a null reference (Nothing in Visual Basic) if not found.
- DeepHierarchy
- Type: System.Boolean
true (True in Visual Basic) to search the entire hierarchy beneath this node. FALSE to search only the children of this node.