Edytuj

Udostępnij za pośrednictwem


Error.ShortErrorMessage Property

Definition

Gets or sets the short error message of an ErrorObject object.

public:
 property System::String ^ ShortErrorMessage { System::String ^ get(); void set(System::String ^ value); };
public string ShortErrorMessage { get; set; }
member this.ShortErrorMessage : string with get, set
Public Property ShortErrorMessage As String

Property Value

Examples

ErrorObject er = thisXDocument.Errors[0];
IXMLDOMNode myNode = er.Node;
thisXDocument.UI.Alert("this is the short: " + er.<span class="label">ShortErrorMessage</span>);

Remarks

The short error message is the ToolTip that users view when data validation fails in their forms.

Applies to