Itembyhandle, Remove, Properties – Echelon OpenLNS User Manual

Page 229: Classid

Advertising
background image

OpenLNS Programmer's Reference

192

ItemByHandle

Summary

Retrieves a

ConnectDescTemplate

object, specified by its

handle, from a

ConnectDescTemplates

collection. The

ConnectDescTemplate

object to be retrieved must be specified

by its handle.

Availability

Local, full, and lightweight clients.

Syntax

object = coll.ItemByHandle(handle)

Element

Description

object

The object retrieved from the collection.

coll

The collection object.

handle

A Long value specifying the handle of

the object to be retrieved.

Added to API

LNS Release 3.0.

Added to API

Prior to LNS Release 3.0.

Remove

Summary

Removes an object from the specified collection.

Availability

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

some collections are not available to Independent clients.

Syntax

objectColl.Remove indexName

Element

Description

objectColl

The collection containing the object to

be removed.

name

A Long value specifying the collection

index of the object to remove, or a

String value specifying the name of the

object to remove.

Added to API

Prior to LNS Release 3.0.

Properties

The ConnectDescTemplates

object contains the following properties

:

ClassId

Count

Item

Parent

_NewEnum

ClassId

Summary

Identifies the object class of this object.

Availability

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

some objects containing this property are not available to

Advertising