Properties Class

Properties

Properties Attributes

Attribute

Remarks

See also

Count

Long

Notes: The number of properties that are available for this object.

ObjectType

ObjectType

Notes: Read only

Distinguishes objects referenced through a Dispatch interface.

Properties Methods

Property

Method

Remarks

See also

Item(object Index)

Property

Notes: 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 Attributes

Attribute

Remarks

See also

Name

String

Notes: 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

Notes: Read only

Distinguishes objects referenced through a Dispatch interface.

Type

PropType

Notes: 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

Notes: 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

Notes: Read/write

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