A Sandcastle Documented Class Library

# DateMapping GetRange Method

Gets the RangeMemberValue based on start and end date.

Namespace: Dundas.BI.Entities.DateMappings
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 RangeMemberValue GetRange(
    	ParameterValue parameterValue,
    	DateTime startDate,
    	DateTime endDate,
    	IOlapCube cube,
    	string levelUniqueName
    )

    Public Function GetRange (
    	parameterValue As ParameterValue,
    	startDate As DateTime,
    	endDate As DateTime,
    	cube As IOlapCube,
    	levelUniqueName As String
    ) As RangeMemberValue

    public:
    virtual RangeMemberValue^ GetRange(
    	ParameterValue^ parameterValue,
    	DateTime startDate,
    	DateTime endDate,
    	IOlapCube^ cube,
    	String^ levelUniqueName
    ) sealed

    abstract GetRange :
            parameterValue : ParameterValue *
            startDate : DateTime *
            endDate : DateTime *
            cube : IOlapCube *
            levelUniqueName : string -> RangeMemberValue
    override GetRange :
            parameterValue : ParameterValue *
            startDate : DateTime *
            endDate : DateTime *
            cube : IOlapCube *
            levelUniqueName : string -> RangeMemberValue

#### Parameters

parameterValue
  Type: Dundas.BI.Data.Parameters
  ParameterValue
  The parameter value.
startDate
  Type: System
  DateTime
  The start date.
endDate
  Type: System
  DateTime
  The end date.
cube
  Type: Dundas.BI.Data.Metadata.Olap
  IOlapCube
  The cube.
levelUniqueName
  Type: System
  String
  Level unique name.

#### Return Value

Type: RangeMemberValue
The RangeMemberValue.

#### Implements

IDateMapping
GetRange(ParameterValue, DateTime, DateTime, IOlapCube, String)
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | parameterValue or cube is .

See Also

#### Reference

DateMapping Class
Dundas.BI.Entities.DateMappings Namespace