VeriStand .NET API Reference

BaseNode.FindFirstChildWithName Method

Gets the first child node with the specified name.

Namespace: NationalInstruments.VeriStand.SystemDefinitionAPI
Assembly: 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.

Return Value

true (True in Visual Basic) if a child node with the specified name was found successfully.

See Also

Log in to get a better experience