Classid, Copywithparent – Echelon OpenLNS User Manual

Page 340

Advertising
background image

OpenLNS Programmer's Reference

303

Value2

Value3

ClassId

Summary

Identifies the object class of this object.
This property allows the object type to be determined when it

is unknown (for example, when the object was accessed using

the Parent property of another object).

Availability

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

some objects containing this property are not available to

Independent clients.

Syntax

classIdValue = object.ClassId

Element

Description

classIdValue

The object class of the object. The

following value is defined for the

Error

object in the

ConstClassIds

constant:

50 lcaClassIdExtension

object

The object to be acted on.

Data Type

Integer.

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.

CopyWithParent

Summary

Indicates whether the

Extension

object should be copied

when its parent object is copied.

This may be useful if you are writing an application that is

copying an object containing a large Extensions collection,

possibly to move the object to another database. You may not

want the application to copy every extension record stored in

the object you are moving. You can use this flag to mark

which extension records should be copied.

Availability

Local, full, and lightweight clients.

Syntax

toBeCopied = extension.CopyWithParent

Element

Description

toBeCopied

A Boolean value indicating whether this

extension record should be copied when

its parent object is copied.
TRUE.

Extension

object should be

copied

.

FALSE.

Extension

object should not be

copied

.

Advertising