ICubeExecuteDataTypes.DataType

Syntax

DataType(Coord: IMatrixCoord): CubeDataType;

Parameters

Coord. Coordinate of the cell with data.

Description

The DataType property returns how data is generated in the cell with the specified coordinate.

Comments

For the cells that received data from the source, the property returns the CubeDataType.Default property. For calculated cells, for example, cells with aggregated data, the property returns CubeDataType.Calculated.

Cells that are defined as calculated can be protected from editing. This attribute can be used for choice in application code. Using the ICubeExecuteDataTypes.AddCoord and ICubeExecuteDataTypes.AddSelectionSet methods it is available to create the list of cells with necessary method of data creation.

Example

The example of use is given in description of the ICubeExecuteSetup.UseDataTypes property.

See also:

ICubeExecuteDataTypes