FindFirstChildWithName Method

NI VeriStand 2018 Help

Edition Date: May 2018

Part Number: 372846M-01

»View Product Info
Download Help (Windows Only)

BaseNode Class See Also


Gets the first child node with the specified name.

Namespace: NationalInstruments.VeriStand.SystemDefinitionAPI

Assembly: NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2017.0.0.0 (2017.0.0.128)

Syntax

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 null (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

Reference

BaseNode Class

NationalInstruments.VeriStand.SystemDefinitionAPI Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful