Skip to main content

TdxMapItemAttributes.Values Property

Returns the value of an attribute by its name.

Declaration

property Values[const AName: string]: Variant read; write; default;

Property Value

Type
Variant

Remarks

This property searches the collection for an attribute with a name that matches AName and if found, returns the attribute’s value. Otherwise, the EListError exception is raised. To avoid raising this exception, call the ContainsName function before using the property to determine if the collection contains the required attribute name.

See Also