Open this page in the API Guide

Setting.AddValidValue 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 (25.1.0.1000)
Syntax
public void AddValidValue(
	ParameterToken token,
	CompatibleDataTypes compatibleDataTypes,
	string caption,
	string description
)

Parameters

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