Error.ShortErrorMessage Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Important: This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.