ExpressionDescriptorDefineBooleanParameter Method (String, String, String, Boolean) |
Defines a parameter placeholder that expects Boolean values for resolution.
Namespace:
Dundas.BI.Data.Metadata
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (8.0.2.1001)
Syntaxpublic ParameterPlaceholder DefineBooleanParameter(
string placeholderCaption,
string name,
string description,
bool defaultValue
)
Public Function DefineBooleanParameter (
placeholderCaption As String,
name As String,
description As String,
defaultValue As Boolean
) As ParameterPlaceholder
public:
ParameterPlaceholder^ DefineBooleanParameter(
String^ placeholderCaption,
String^ name,
String^ description,
bool defaultValue
)
member DefineBooleanParameter :
placeholderCaption : string *
name : string *
description : string *
defaultValue : bool -> ParameterPlaceholder
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: SystemBoolean
The default value.
Return Value
Type:
ParameterPlaceholderThe expression parameter.
Exceptions| Exception | Condition |
|---|
| ArgumentException | placeholderCaption is or Empty or already in use in the expression statement. |
| InvalidOperationException | Parameters can be defined only for entity specific expressions. |
See Also