ICustomDimAttributes.RemoveByKey

Syntax

RemoveByKey(AttributeKey: Integer): Boolean;

Parameters

AttributeKey. Attribute key.

Description

The RemoveByKey method removes attribute by key.

Comments

The method returns True if attribute was removed from the collection, and False if attribute cannot be removed for some reason. If you remove attributes with the purpose Identifier, Name or Order, it is necessary to create new attributes or assign existing attributes. It is required to save dictionary performance.

See also:

ICustomDimAttributes