beautypg.com

Value2, Value3, Extensions – Echelon OpenLNS User Manual

Page 345

background image

OpenLNS Programmer's Reference

308

Value2

Summary

Stores user-specified object data.

Availability

Local, full, and lightweight clients.

Syntax

userData = extensionObject.Value2

Element

Description

userData

The user-specific data. You can store

d

ata of any type supported by the

Variant type in binary large objects

(BLOBs) of up to 65,000 bytes.
Values are tagged with a unique key to

ensure that applications from multiple

manufacturers do not overwrite each

other's data.
The Value2 property supports the

following Variant types:
VT_BOOL

VT_UI1

VT_I2

VT_I4

VT_CY

VT_R4

VT_R8

VT_DATE

VT_BSTR

VT_ERROR

VT_DISPATCH

VT_UNKNOWN

VT_EMPTY

VT_NULL
All single-dimensional Variant arrays,

except for arrays of BSTRs.

extensionObject

The

Extension

object to operate on.

Data Type

Variant.

Read/Write

Read/write.

Added to API

Prior to LNS Release 3.0.

Value3

Summary

Stores user-specified object data.

Availability

Local, full, and lightweight clients.

Syntax

userData = extensionObject.Value3

Element

Description

userData

The user-specific data. You can store

d

ata of any type supported by the