beautypg.com

Newenum, Networkinterface – Echelon OpenLNS User Manual

Page 581

background image

OpenLNS Programmer's Reference

544

object

Any object for which the parent is

desired.

Data Type

Object.

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.

_NewEnum

Summary

Enables you to iterate over the objects in a collection using

For Each ... Next statements.

If you are developing your OpenLNS app in Visual C++,

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.

NetworkInterface

A NetworkInterface object represents a single instance of a L

ON

W

ORKS

Network

Interface

or

Network Services

Interface

(for example, a U10/U20 USB network interface, or a

PCLTA-21,

PCLTA-20, or PCC-10 network interface card)

. The Name property contains the device name

of the NetworkInterface (for example, LON1), which is set from the LonWorks Interfaces

Control Panel application.

The following table summarizes the

NetworkInterface

object.

Description

An instance of a L

ON

W

ORKS

network

interface or network services interface.