Parent, Newenum – Echelon OpenLNS User Manual

Page 231

Advertising
background image

OpenLNS Programmer's Reference

194

passing the object’s name as a string expression

Availability

Local, full, lightweight, and independent clients. Note that

some objects containing this property are not available to

Independent clients.

Syntax

retrievedObject = collObject.Item(index)

retrievedObject = collObject.Item(stringExpression)

Element

Description

retrievedObject

The object retrieved from the collection.

collObject

The collection object to be acted on.

index

A Long type specifying the ordinal

index of the object to retrieve.

stringExpression A string type specifying the name of the

object to retrieve.

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.

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.

Comments

The parent object is determined by the means in which a

child object is accessed, not by the OpenLNS Object

hierarchy.

_NewEnum

Summary

Enables you to iterate over the objects in a collection using

Advertising