Share via


ReportParameterInfo.ErrorMessage Property

Gets the error message that is returned when the parameter fails validation. Read-only.

Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)

Syntax

'Declaration
Public ReadOnly Property ErrorMessage As String
'Usage
Dim instance As ReportParameterInfo
Dim value As String

value = instance.ErrorMessage
public string ErrorMessage { get; }
public:
property String^ ErrorMessage {
    String^ get ();
}
/** @property */
public String get_ErrorMessage ()
public function get ErrorMessage () : String

Property Value

A read-only String containing the text of the error message.

See Also

Reference

ReportParameterInfo Class
ReportParameterInfo Members
Microsoft.Reporting.WinForms Namespace