IUANode.FindObject(browseName)
Returns an
IUAObject
C# object. The returned object corresponds to the first child object found in the node children on which the method is invoked. The returned object name corresponds to the argument.IUAObject FindObject(stringbrowseName);
Arguments
- browseName(string)
- TheBrowseNameof the node to find.
Returns
- IUANode
- A C# object that corresponds to the object found.
Example
The following example shows a returned C# object that corresponds to the first
Motor
object child of the project root node:
var motor = Project.Current.FindObject("Motor"); var currentSpeed = motor.GetVariable("Speed").Value;
Provide Feedback