Remove, Properties, Classid – Echelon OpenLNS User Manual
Page 436
OpenLNS Programmer's Reference
399
lcaErrDuplicateKey exception will
be thrown.
sourceInterfaceObj
The existing
create the new
If the sourceInterfaceObj element is
specified, the new Interface object
will be created with the same
NetworkVariables collection as the
Interface object referenced as the
sourceInterfaceObj. If the
sourceInterfaceObj is null, a new,
empty Interface object will be
created.
Added to API
Prior to LNS Release 3.0.
Remove
Summary
Removes an Interface object from the system. Removing an
Interface object from the Interfaces
collection also deletes
their (dynamic) LonMarkObject objects and their associated
NetworkVariable and (dynamic) MessageTag objects.
Availability
Local, full, and lightweight clients.
Syntax
interfacesColl.Remove indexName
Element
Description
interfacesColl
collection object
containing the interface to be removed.
indexName
A Long value specifying the collection
or a String value specifying the name of
Added to API
Prior to LNS Release 3.0.
Properties
The
Intefaces
object contains the following properties:
•
•
•
•
•
ClassId
Summary
Identifies the object class of this object.
This property allows the object type to be determined when it
is unknown (for example, when the object was accessed using
the Parent property of another object).
Availability
Local, full, lightweight, and independent clients. Note that