A Sandcastle Documented Class Library

# ProviderExpression DefineCollectionNumberParameter Method (String, String, String, String, IEnumerable Number )

Defines a manual provider parameter that accepts a collection of strings for value.

Namespace: Dundas.BI.Data.DataProviders
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 DefineCollectionNumberParameter(
    	string placeholderCaption,
    	string name,
    	string description,
    	string elementName,
    	IEnumerable<Number> defaultValue
    )

    Public Function DefineCollectionNumberParameter (
    	placeholderCaption As String,
    	name As String,
    	description As String,
    	elementName As String,
    	defaultValue As IEnumerable(Of Number)
    ) As ParameterPlaceholder

    public:
    ParameterPlaceholder^ DefineCollectionNumberParameter(
    	String^ placeholderCaption,
    	String^ name,
    	String^ description,
    	String^ elementName,
    	IEnumerable<Number>^ defaultValue
    )

    member DefineCollectionNumberParameter :
            placeholderCaption : string *
            name : string *
            description : string *
            elementName : string *
            defaultValue : IEnumerable<Number> -> ParameterPlaceholder

#### Parameters

placeholderCaption
  Type: System
  String
  The placeholder caption.
name
  Type: System
  String
  The parameter name.
description
  Type: System
  String
  The parameter description.
elementName
  Type: System
  String
  Name of the provider data element to be used in the query.
defaultValue
  Type: System.Collections.Generic
  IEnumerable
  Number
  The default value.

#### Return Value

Type: ParameterPlaceholder
The parameter placeholder.
Exceptions

Exception | Condition
--- | ---
InvalidOperationException | The expression is not attached to a cube object.

See Also

#### Reference

ProviderExpression Class
DefineCollectionNumberParameter Overload
Dundas.BI.Data.DataProviders Namespace