Operation(Index: Integer): Integer;
Index - index of aggregation method.
The Operation property returns aggregation method, index of which is passed by the Index parameter.
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: