IDimAttributeInstance.LookupDisplayValue

Fore Syntax

LookupDisplayValue(Value: Variant): Integer;

Fore.NET Syntax

LookupDisplayValue(Value: Object): UInteger;

Parameters

Value. Displayed attribute value.

Description

The LookupDisplayValue method searches for displayed attribute value and returns element index if the search is successful.

Comments

This method is relevant if the DisplayDifferentValue property returns True for the attribute. In this case the search using the LookupValue method may fail.

This method returns the first found element that has selected displayed attribute value. The method returns -1 if the specified attribute value could not be found. The value specified in the Value parameter is case-sensitive. Only full value is searched for.

See also:

IDimAttributeInstance