Methods, Itembyindex, Refresh – Echelon OpenLNS User Manual

Page 61: Properties, Refresh m

Advertising
background image

OpenLNS Programmer's Reference

24

Parent

_NewEnum

Methods

The Aliases object contains the following methods

.

ItemByIndex

Refresh

ItemByIndex

Summary

Retrieves an

Alias

object from an

Aliases

collection. The

Alias

object to be retrieved must be specified by its index

value.

Availability

Local, full, and lightweight clients.

Syntax

itemObject = itemsColl.ItemByIndex index

Element

Description

itemObject

The

Alias

object retrieved from the

collection.

itemsColl

The

Aliases

collection to be acted on.

index

An Integer value specifying the

Index

property of the

Alias

object to be

retrieved.

Added to API

LNS Release 3.0.

Refresh

Summary

Causes the OpenLNS Server to read the alias table of the

affiliated application device for aliases belonging to the

("parent") network variable. Any previously obtained Alias

objects are not updated, and their values should be ignored

and the objects released.

Availability

Local, full, and lightweight clients.

Syntax

aliasesColl.Refresh

Element

Description

aliasesColl

The

Aliases

collection object to be acted

on.

Added to API

Prior to LNS Release 3.0.

Properties

The Aliases object contains the following properties:

ClassID

Count

Item

Parent

_NewEnum

Advertising