Edit

Share via


XmlFormCancelEventArgs.Message Property

Definition

Gets or sets the short message that is displayed when the event is cancelled.

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

Property Value

The short error message text.

Remarks

The value specified for the Message property is displayed at the top of the error message dialog box when the event is cancelled.

For information about which events can utilize the Message property, see XmlFormCancelEventArgs.

This type or member can be accessed from code running in forms opened in Microsoft InfoPath Filler or in a Web browser.

Applies to