共用方式為


ItemParameter.ErrorMessage 屬性

Gets the error message returned when a parameter value has failed validation.

命名空間:  ReportService2010
組件:  ReportService2010 (在 ReportService2010.dll 中)

語法

'宣告
Public Property ErrorMessage As String 
    Get 
    Set
'用途
Dim instance As ItemParameter 
Dim value As String 

value = instance.ErrorMessage

instance.ErrorMessage = value
public string ErrorMessage { get; set; }
public:
property String^ ErrorMessage {
    String^ get ();
    void set (String^ value);
}
member ErrorMessage : string with get, set
function get ErrorMessage () : String 
function set ErrorMessage (value : String)

屬性值

型別:System.String
A String value that contains the error message returned when a parameter value has failed validation.

備註

This property may be used to display error messages to the user.

請參閱

參考

ItemParameter 類別

ReportService2010 命名空間