Appdevice, D appdevice, N appdevice – Echelon OpenLNS User Manual

Page 64

Advertising
background image

OpenLNS Programmer's Reference

27

you can browse a collection to find a particular item by

using the _NewEnum property. See the IEnumVARIANT
interface for details.

•

If you are developing your OpenLNS app in Visual Basic,

you do not need to use the _NewEnum property because

it is automatically used in the implementation of For

Each ... Next statements.

•

If you are developing your OpenLNS app in C#, you do

not need to use the _NewEnum property explicitly

because it is automatically used in the implemention of

foreach statements.

Availability

Local, full, and lightweight clients.

Syntax

retrievedObject = coll

Object._NewEnum

Element

Description

retrievedObject

An expression that evaluates to the

object retrieved.

collObject

An iterator object that can be used to

access members of the collection.

Data Type

Object.

Read/Write

Read only.

Added to API

OpenLNS.

AppDevice

An

AppDevice

object represents a LONWORKS application device, including both

Neuron-hosted and host-based applications.

The following table summarizes the AppDevice

object.

Description

Represents a LONWORKS application device.

Added to API

Prior to LNS Release 3.0.

Accessed Through

AppDevices collection object.

NetworkServiceDevice object.

Default Property

Name property.

Methods

•

ClearStatus

•

Commission

•

CommissionEx

•

Decommission

•

Delay

•

DownloadConfigProperties

•

GetMessagePoint

•

Load

•

MoveEx

•

PostMove

•

PreMove

•

PropagateDeviceConfigUpdates

•

Reboot

Advertising