Share via


ReportParameterInfo.ValidValues Property

Gets the available valid values for the parameter. Read-only.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
Public ReadOnly Property ValidValues As IList(Of ValidValue)
'Usage
Dim instance As ReportParameterInfo
Dim value As IList(Of ValidValue)

value = instance.ValidValues
public IList<ValidValue> ValidValues { get; }
public:
property IList<ValidValue^>^ ValidValues {
    IList<ValidValue^>^ get ();
}
/** @property */
public IList<ValidValue> get_ValidValues ()
public function get ValidValues () : IList<ValidValue>

Property Value

A read-only array of ValidValue objects.

Remarks

You can display the valid values of a parameter to the user in a user interface.

See Also

Reference

ReportParameterInfo Class
ReportParameterInfo Members
Microsoft.Reporting.WebForms Namespace