IUANode.GetObject(browsePath)
Returns an IUAObject
C# object that corresponds to the first child object of the node on which the method is invoked. The returned object name corresponds to the argument.
IUAObject GetObject(string browsePath);
Arguments
browsePath
(string)-
Can be either:
- The
BrowseName
of the object - The path of the object in the information model, uniquely expressed as a sequence of
BrowseName
values separated by/
- The
Returns
IUAObject
- A C# object that matches the requested object.
Examples
The following examples show a returned C# object that corresponds to the
Motor1
object:
var motor1 = Owner.GetObject("Machine1").GetObject("Motor1");
var motor1 = Owner.GetObject("Machine1/Motor1");