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(stringbrowsePath);
Arguments
- browsePath(string)
- Can be either:
- TheBrowseNameof the object
- The path of the object in the information model, uniquely expressed as a sequence ofBrowseNamevalues separated by/
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");
Provide Feedback