Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Properties Class

Properties

Properties Attributes:

Attribute

Type

Notes

Count

Long

The number of properties that are available for this object.

 

ObjectType

ObjectType

Read only

Distinguishes objects referenced through a Dispatch interface.

 

Properties Methods:

Method

Type

Notes

Item (object Index)

Property

Returns a property either by name or by a zero-based integer offset into the list of properties.

Parameter:

Index: Variant - either a string representing the property name or an integer representing the zero-based offset into the property list
 

Property

Property Attributes:

Attribute

Type

Notes

Name

String

Read only

The name of the property.

The object to which the properties list applies can have an automation property with the same name, in which case the data accessed through Value is identical to that obtained through the automation property.

 

ObjectType

ObjectType

Read only

Distinguishes objects referenced through a Dispatch interface.

 

Type

PropType

Read only

Provides an indication of what sort of data is going to be stored by this property. This restriction can be further defined by the Validation attribute.

 

Validation

String

Read only

An optional string that is used to validate any data that is passed to the Value attribute. This string is used by the programmer at run time to provide an indication of what is expected, and by Enterprise Architect to ensure that the submitted data is appropriate.

 

Value

Variant

Read/write

The value of the property as defined in the other fields.