Compartilhar via


Método AddValidValue (String, String)

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

Namespace:  Microsoft.ReportingServices.Interfaces
Assemblies:   Microsoft.ReportingServices.Interfaces (em Microsoft.ReportingServices.Interfaces.dll)
  Microsoft.ReportingServices.SharePoint.UI.WebParts (em Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

Sintaxe

'Declaração
Public Sub AddValidValue ( _
    label As String, _
    val As String _
)
'Uso
Dim instance As Setting
Dim label As String
Dim val As String

instance.AddValidValue(label, val)
public void AddValidValue(
    string label,
    string val
)
public:
void AddValidValue(
    String^ label, 
    String^ val
)
member AddValidValue : 
        label:string * 
        val:string -> unit 
public function AddValidValue(
    label : String, 
    val : String
)

Parâmetros

Comentários

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.