FunctionDefinitionValidateFunctionSettings Method |
Validates the function setting values against their type, valid values and allowed range.
It does not validate any parameter relationships.
Namespace:
Dundas.BI.Data.Functions
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax public virtual bool ValidateFunctionSettings(
IEnumerable<ParameterValue> settingValues,
out ParameterValue invalidSettingValue,
out string errorMessage
)
Public Overridable Function ValidateFunctionSettings (
settingValues As IEnumerable(Of ParameterValue),
<OutAttribute> ByRef invalidSettingValue As ParameterValue,
<OutAttribute> ByRef errorMessage As String
) As Boolean
public:
virtual bool ValidateFunctionSettings(
IEnumerable<ParameterValue^>^ settingValues,
[OutAttribute] ParameterValue^% invalidSettingValue,
[OutAttribute] String^% errorMessage
)
abstract ValidateFunctionSettings :
settingValues : IEnumerable<ParameterValue> *
invalidSettingValue : ParameterValue byref *
errorMessage : string byref -> bool
override ValidateFunctionSettings :
settingValues : IEnumerable<ParameterValue> *
invalidSettingValue : ParameterValue byref *
errorMessage : string byref -> bool
Parameters
- settingValues
- Type: System.Collections.GenericIEnumerableParameterValue
The function setting values. - invalidSettingValue
- Type: Dundas.BI.Data.ParametersParameterValue
The invalid setting value, if one is found. - errorMessage
- Type: SystemString
The error message.
Return Value
Type:
Boolean if all function setting values are valid; otherwise,
.
Remarks If a setting value is not found in the value list, the default value is used instead.
See Also