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)
The
BrowseName
of 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
Have questions or feedback about this documentation? Please submit your feedback here.