Parent, Newenum – Echelon OpenLNS User Manual
Page 350
OpenLNS Programmer's Reference
313
Data Type
Object.
Read/Write
Read only.
Added to API
Depends on the object used to access the property. Generally,
this property exists for an object as soon as the object is added
to the API.
Parent
Summary
Returns the object that spawned the current child object. The
parent object is determined by the means in which a child
object is accessed, not by the OpenLNS Object hierarchy.
Availability
Local, full, lightweight, and independent clients. Note that
some collection objects are not available to Independent
clients.
Syntax
parentObject = object.Parent
Element
Description
parentObject
The object that is the parent of the
specified object.
object
Any object for which the parent is
desired.
Data Type
Object.
Read/Write
Read only.
Added to API
Depends on the object used to access the property. Generally,
this property exists for an object as soon as the object is
added to the API.
_NewEnum
Summary
Enables you to iterate over the objects in a collection using
For Each ... Next statements.
•
If you are developing your OpenLNS app in Visual C++,
you can browse a collection to find a particular item by
using the _NewEnum property. See the IEnumVARIANT
interface for details.
•
If you are developing your OpenLNS app in Visual Basic,
you do not need to use the _NewEnum property because
it is automatically used in the implementation of For
Each ... Next statements.
•
If you are developing your OpenLNS app in C#, you do
not need to use the _NewEnum property explicitly
because it is automatically used in the implemention of
foreach statements.
Availability
Local, full, and lightweight clients.