SettingAddValidValue Method (ParameterToken, CompatibleDataTypes, String, String)

Adds a new value to the supported list of valid values.

Namespace:  Dundas.BI.Data.Parameters
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.2.0.1000)
Syntax
public void AddValidValue(
	ParameterToken token,
	CompatibleDataTypes compatibleDataTypes,
	string caption,
	string description
)

Parameters

token
Type: Dundas.BI.Data.Parameters.TokensParameterToken
The token value.
compatibleDataTypes
Type: Dundas.BI.Data.ParametersCompatibleDataTypes
The compatible data types.
caption
Type: SystemString
The caption.
description
Type: SystemString
The description.
Exceptions
ExceptionCondition
InvalidOperationExceptionThe current instance has not been defined to support valid values.
ArgumentNullExceptiontoken is .
ArgumentExceptiontoken is invalid for the current type of valid values.
See Also