beautypg.com

Itembyhandle, Remove – Echelon OpenLNS User Manual

Page 875

background image

OpenLNS Programmer's Reference

838

Syntax

subsystemObject = subsystemsColl.Add(subsystemName)

Element

Description

subsystemObject

The newly defined Subsystem

object.

subsystemsColl

The Subsystems collection object.

subsystemName

A String containing the name of

the Subsystem.

Added to API

Prior to LNS Release 3.0.

ItemByHandle

Summary

Retrieves a

Subsystem

object, specified by its handle, from a

Subsystems

collection.

Availability

Local, full, and lightweight clients.

Syntax

object = coll.

ItemByHandle

(handle)

Element

Description

object

The

Subsystem

object retrieved from the

Subsystems

collection.

coll

The

Subsystems

collection object.

handle

A Long value specifying the handle of

the

Subsystem

object to be retrieved.

Added to API

LNS Release 3.0.

Remove

Summary

Removes a

Subsystem

object from the

Subsystems

collection.

Availability

Local, full, and lightweight clients.

Syntax

objectColl.Remove indexName

Element

Description

objectColl

The

Subsystems

collection object

containing the

Subsystem

object to be

removed.

indexName

A Long value specifying the collection

index of the

Subsystem

object to be

removed, or a String value specifying

the name of the

Subsystem

object to be

removed.

Added to API

Prior to LNS Release 3.0.