Classid, Count – Echelon OpenLNS User Manual

Page 579

Advertising
background image

OpenLNS Programmer's Reference

542

Count

Item

Parent

_NewEnum

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

some objects containing this property are not available to

Independent clients.

Syntax

classIdValue = object.ClassId

Element

Description

classIdValue

The object class of the object. The

following value is defined for the

Networks

object in the

ConstClassIds

constant:
2 lcaClassIdNetworks

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

Advertising