Setting.AddValidValue 메서드 (String, String)

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

네임스페이스:  Microsoft.ReportingServices.Interfaces
어셈블리:   Microsoft.ReportingServices.Interfaces(Microsoft.ReportingServices.Interfaces.dll)


Public Sub AddValidValue ( _
    label As String, _
    val As String _
‘사용 방법
Dim instance As Setting 
Dim label As String 
Dim val As String

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

매개 변수

  • label
    유형: System.String
    The display value for the setting as presented in a user interface.
  • val
    유형: System.String
    The actual value of the setting that is passed to the delivery extension.


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.

참고 항목


Setting 클래스

AddValidValue 오버로드

Microsoft.ReportingServices.Interfaces 네임스페이스