ICustomAggregateBrowsable Members
Allows you to define a description of a custom aggregate function that appears in the Expression Editor, and validate the number of arguments and their type.Properties
| Name | Description |
|---|---|
| Description | Specifies the function description that appears in the Expression Editor. |
| MaxOperandCount | Returns the maximum number of operands (parameters) that this function can accept. |
| MinOperandCount | Returns the minimum number of operands (parameters) that this function requires. |
| Name | When implemented by a custom aggregate function, specifies its name. Inherited from ICustomAggregate. |
Methods
| Name | Description |
|---|---|
| CreateEvaluationContext() | An object that stores the result’s intermediate state between the Process(Object, Object[]) method calls. Inherited from ICustomAggregate. |
| GetResult(Object) | Gets a custom aggregate function‘s result. Inherited from ICustomAggregate. |
| IsValidOperandCount(Int32) | Determines whether the specified number of operands is acceptable. |
| IsValidOperandType(Int32, Int32, Type) | Determines whether a function accepts an argument (operand) of the specified type. |
| Process(Object, Object[]) | Is called to process every element of a collection supplied to a custom aggregate function. Inherited from ICustomAggregate. |
| ResultType(Type[]) | When implememnted by a custom aggregate function, determines its return value type based on the type of aggregate function parameters. Inherited from ICustomAggregate. |
See Also