IPivotDimNamings.Count

Syntax

Count: Integer;

Description

The Count property returns the number of names in the collection.

Example

Executing the example requires a form with the Button1 button on the form, the TabSheetBox component and the UiErAnalyzer component named UiErAnalyzer1 that is a data source.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    Eax: IEaxAnalyzer;
    Pivot: IPivot;
    PivotDim: IPivotDimension;
    NamS: IPivotDimNamings;
    S: Integer;
Begin
    Eax := UiErAnalyzer1.ErAnalyzer;
    Pivot := Eax.Pivot;
    PivotDim := Pivot.Dimensions.Item(0);
    NamS := PivotDim.Namings;
    S := NamS.Count;
End Sub Button1OnClick;

After executing the example, the "S" variable stores the number of elements in the names collection.

See also:

IPivotDimNamings