Open this page in the API Guide

Setting.AddValidValue Method (String, 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(
	string value,
	CompatibleDataTypes compatibleDataTypes,
	string caption,
	string description
)

Parameters

value
Type: System.String
The 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.
ArgumentExceptionThe current value type is invalid in the current context.
See Also