InformationModel.MakeObject(browseName)
Creates a project object of the
BaseObject
type and returns a corresponding IUAObject
C# object.static IUAObject MakeObject(browseName);
Arguments
- browseName(QualifiedName)
- TheBrowseNameof the new object.
Returns
- IUAObject
- A C# object that corresponds to the project object created.
Example
The following example shows an API that creates a
Motor
object and returns a corresponding C# object, which is assigned to the motor
variable. The Motor
object is then added to the parent node of the NetLogic.
var motor = InformationModel.MakeObject("Motor"); Owner.Add(motor);
Provide Feedback