OperationCount: Integer;
The OperationCount property returns the number of available aggregation methods.
Sub Main;
Var
Man: IMatrixAggregatorManager;
BasicAggr: IBasicMatrixAggregator;
i: Integer;
Begin
Man := New MatrixAggregatorManager.Create As IMatrixAggregatorManager;
BasicAggr := Man.CreateAggregator("BasicMatrixAggregator") As IBasicMatrixAggregator;
For i := 0 To BasicAggr.OperationCount - 1 Do
Debug.WriteLine(BasicAggr.OperationName(BasicAggr.Operation(i)));
End For;
End Sub Main;
After executing the example names of all methods that are available while using the basic aggregation mechanism are displayed in the development environment console.
See also: