Share via


Setting.AddValidValue Method

Definition

Adds a valid value for the setting.

Overloads

AddValidValue(ValidValue)

Adds a valid value using the ValidValue class.

AddValidValue(String, String)

Adds a valid value for a setting using a label and a value.

AddValidValue(ValidValue)

Adds a valid value using the ValidValue class.

public:
 void AddValidValue(Microsoft::ReportingServices::Interfaces::ValidValue ^ val);
public void AddValidValue (Microsoft.ReportingServices.Interfaces.ValidValue val);
member this.AddValidValue : Microsoft.ReportingServices.Interfaces.ValidValue -> unit
Public Sub AddValidValue (val As ValidValue)

Parameters

val
ValidValue

A ValidValue object that contains the label and the value for the setting.

Applies to

AddValidValue(String, String)

Adds a valid value for a setting using a label and a value.

public:
 void AddValidValue(System::String ^ label, System::String ^ val);
public void AddValidValue (string label, string val);
member this.AddValidValue : string * string -> unit
Public Sub AddValidValue (label As String, val As String)

Parameters

label
String

The display value for the setting as presented in a user interface.

val
String

The actual value of the setting that is passed to the delivery extension.

Remarks

The label parameter of a setting can be used to support localized names of setting values. The label is displayed in a user interface, such as Report Manager.

Applies to