Share via


Error.ShortErrorMessage Property

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

Namespace: Microsoft.Office.Interop.InfoPath
Assembly: Microsoft.Office.Interop.InfoPath (in microsoft.office.interop.infopath.dll)

Syntax

'Declaration
'Usage

Remarks

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

Example

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

See Also

Reference

Error Interface
Error Members
Microsoft.Office.Interop.InfoPath Namespace