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

PropertyType Class

A PropertyType object represents a defined property that can be applied to UML elements as a Tagged Value. PropertyTypes can be accessed using the Repository PropertyTypes collection.

Each PropertyType corresponds to one of the predefined Tagged Values for the model.

Associated table in .EAP file

t_propertytypes

PropertyType Attributes

Attribute

Remarks

See also

Description

String

Notes: Read/Write

A short description of the property.

Detail

String

Notes: Read/Write

Configuration information for the property.

ObjectType

ObjectType

Notes: Read only

Distinguishes objects referenced through a Dispatch interface.

Tag

String

Notes: Read/Write

The name of the property (Tag Name).

PropertyType Methods:

Method

Remarks

See also

GetLastError()

String

Notes: Returns a string value describing the most recent error that occurred in relation to this object.

Update()

Boolean

Notes: Updates the current PropertyType object after modification or appending a new item.

If False is returned, check the 'GetLastError()' function for more information.