A Sandcastle Documented Class Library

# MeasureExpression DefineInputMeasureParameter Method (String, String, String, MeasureUsage)

Defines an input measure parameter for the current expression.

Namespace: Dundas.BI.Entities.MetricSets
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public ParameterPlaceholder DefineInputMeasureParameter(
    	string caption,
    	string parameterName,
    	string parameterDescription,
    	MeasureUsage defaultMeasure
    )

    Public Function DefineInputMeasureParameter (
    	caption As String,
    	parameterName As String,
    	parameterDescription As String,
    	defaultMeasure As MeasureUsage
    ) As ParameterPlaceholder

    public:
    ParameterPlaceholder^ DefineInputMeasureParameter(
    	String^ caption,
    	String^ parameterName,
    	String^ parameterDescription,
    	MeasureUsage^ defaultMeasure
    )

    member DefineInputMeasureParameter :
            caption : string *
            parameterName : string *
            parameterDescription : string *
            defaultMeasure : MeasureUsage -> ParameterPlaceholder

#### Parameters

caption
  Type: System
  String
  The parameter caption used in the statement.
parameterName
  Type: System
  String
  Name of the parameter.
parameterDescription
  Type: System
  String
  The parameter description.
defaultMeasure
  Type: Dundas.BI.Entities.MetricSets
  MeasureUsage
  The default measure.

#### Return Value

Type: ParameterPlaceholder
The parameter placeholder.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | defaultMeasure is .
ArgumentException | caption is or Empty or already in use.

See Also

#### Reference

MeasureExpression Class
DefineInputMeasureParameter Overload
Dundas.BI.Entities.MetricSets Namespace