A Sandcastle Documented Class Library

# GenericParameter AddValidValue Method

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 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public void AddValidValue(
    	ParameterValue value,
    	string caption,
    	string description
    )

    Public Sub AddValidValue (
    	value As ParameterValue,
    	caption As String,
    	description As String
    )

    public:
    void AddValidValue(
    	ParameterValue^ value,
    	String^ caption,
    	String^ description
    )

    member AddValidValue :
            value : ParameterValue *
            caption : string *
            description : string -> unit

#### Parameters

value
  Type: Dundas.BI.Data.Parameters
  ParameterValue
  The value.
caption
  Type: System
  String
  The caption.
description
  Type: System
  String
  The description.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | value is .
ArgumentException | value is invalid for the current parameter, or the current parameter does not support a list of valid values.

See Also

#### Reference

GenericParameter Class
Dundas.BI.Data.Parameters Namespace