ExpressionDescriptorDefineNumericParameter Method (String, String, String, Number, Number, Number)

Defines a parameter placeholder that expects Number values for resolution.

Namespace:  Dundas.BI.Data.Metadata
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.2.0.1000)
Syntax
public ParameterPlaceholder DefineNumericParameter(
	string placeholderCaption,
	string name,
	string description,
	Number defaultValue,
	Number minimumValue,
	Number maximumValue
)

Parameters

placeholderCaption
Type: SystemString
The parameter placeholder used in the expression statement.
name
Type: SystemString
The name.
description
Type: SystemString
The parameter description.
defaultValue
Type: Dundas.BINumber
The default value.
minimumValue
Type: Dundas.BINumber
The minimum value.
maximumValue
Type: Dundas.BINumber
The maximum value.

Return Value

Type: ParameterPlaceholder
The expression parameter.
Exceptions
ExceptionCondition
ArgumentExceptionplaceholderCaption is or Empty or already in use in the expression statement or defaultValue, minimumValue or maximumValue is invalid.
InvalidOperationExceptionParameters can be defined only for entity specific expressions.
See Also