A Sandcastle Documented Class Library

# MeasureExpression DefineMeasurePlaceholder Method (String, MeasureUsage)

Defines a measure placeholder for the current expression, using a non-specific instance for the metric set.

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 MeasurePlaceholder DefineMeasurePlaceholder(
    	string caption,
    	MeasureUsage measureUsage
    )

    Public Function DefineMeasurePlaceholder (
    	caption As String,
    	measureUsage As MeasureUsage
    ) As MeasurePlaceholder

    public:
    MeasurePlaceholder^ DefineMeasurePlaceholder(
    	String^ caption,
    	MeasureUsage^ measureUsage
    )

    member DefineMeasurePlaceholder :
            caption : string *
            measureUsage : MeasureUsage -> MeasurePlaceholder

#### Parameters

caption
  Type: System
  String
  The caption used in the statement.
measureUsage
  Type: Dundas.BI.Entities.MetricSets
  MeasureUsage
  The measure usage element.

#### Return Value

Type: MeasurePlaceholder
The measure placeholder.
Exceptions

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

See Also

#### Reference

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