IUANode.FindVariable(browseName)
Returns an IUAVariable
C# object. The returned object corresponds to the first child variable found in the node children on which the method is invoked. The returned object name corresponds to the argument.
IUAVariable FindVariable(string browseName);
Arguments
browseName
(string)- The
BrowseName
of the node to find.
Returns
IUANode
- A C# object that corresponds to the variable found.
Example
The following example shows a returned C# object that corresponds to the first
Speed
variable child of the project root node:
var currentSpeed = Project.Current.FindVariable("Speed");