IDimAttribute.DisplayDataType

Syntax

DisplayDataType: DbDataType;

Description

The DisplayDataType property returns type of displayed attribute value.

Comments

This property is relevant for attributes with the Date type (the property DataTypeDbDataType.DateTime). MDM dictionaries enable the user to create attributes that have the Date Without Time type ( DbDataType.Date). In fact, values of these attributes are stored with information about time, and the DataType property also returns the  DbDataType.DateTime. This property enables the user to define the type which is attributed to the values displayed in the visual components:  DbDataType.Date or  DbDataType.DateTime.

For attributes with another data type this property returns value matching the DataType property value.

See also:

IDimAttribute