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(string browseName);

Arguments

browseName (string)
The BrowseName of 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;