Count, Item – Echelon OpenLNS User Manual

Page 954

Advertising
background image

OpenLNS Programmer's Reference

917

3 lcaClassIdSystem

object

The object to be acted on.

Data Type

Integer.

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.

Count

Summary

Returns the number of objects in a collection. You can use

this property to enumerate a collection object.

Availability

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

some collection objects are not available to Independent

clients.

Syntax

returnValue = object.Count

Element

Description

returnValue

The number of objects in the collection

as a long integer.

object

The collection object to be acted on.

Data Type

Long.

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.

Item

Summary

Returns a

System

object from a

Systems

collection. You can

retrieve a

System

object from its

Systems

collection by

passing its index (ordinal position) within that collection as

the argument for the Item property. Index values start at 1.
You can also retrieve a

System

object from a

Systems

collection with the

Name

property by passing the

System

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

System

object retrieved from the

collection.

collObject

The

Systems

collection object to be acted

Advertising