Ownerclassid, Parent, Owner – Echelon OpenLNS User Manual

Page 343

Advertising
background image

OpenLNS Programmer's Reference

306

Extensions collection containing this Extension. To

determine the object type before using this method, use the

OwnerClassId property.

Availability

Local, full, and lightweight clients.

Syntax

object = extension.Owner

Element

Description

extension

The

Extension

object to be acted on.

object

The object that contains the

Extension

.

Data Type

Object.

Read/Write

Read only.

Added to API

OpenLNS.

OwnerClassId

Summary

Returns a constant identifying the type of object that

contains the Extension object

.

This property can be used to

determine the object type that contains the Extensions

collection containing this Extension. To access the object that

contains the Extension, use the Owner property. The possible

values for this property are contained in the ConstClassIds

constant.

Availability

Local, full, and lightweight clients.

Syntax

classId = extension.OwnerClassId

Element

Description

extension

The

Extension

object to be acted on.

classID

The type of object that “owns” the

Extension object

.

Data Type

Integer.

Read/Write

Read only.

Added to API

OpenLNS.

Parent

Summary

Returns the object that spawned the current child object. The

parent object is determined by the means in which a child

object is accessed, not by the OpenLNS Object hierarchy.

Availability

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

some collection objects are not available to Independent

clients.

Syntax

parentObject = object.Parent

Element

Description

parentObject

The object that is the parent of the

Advertising