Gets the textual description of the syntax or execution error.
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntaxpublic string Text { get; }
Public ReadOnly Property Text As String
Get
public:
virtual property String^ Text {
String^ get () sealed;
}
Property Value
String
The textual description of the syntax or execution error.
Implements
IErrorText
Remarks
This string description is appropriate for displaying to the user
in a message area.
This property works in conjunction with the other error properties to
allow your application access to the exact source
and cause of a WinWrap Basic syntax or execution error.
Example
Display the error text during the ErrorAlert event:
private void basicIdeCtl1_ErrorAlert(object sender, System.EventArgs e)
{
MessageBox.Show("Error.Text = " + basicIdeCtl1.Error.Text);
}
Private Sub BasicIdeCtl1_ErrorAlert ( ByVal sender As Object, ByVal e As System.EventArgs)
MessageBox.Show("Error.Text = " & BasicIdeCtl1.Error.Text)
End Sub
private: System::Void basicIdeCtl1_ErrorAlert(System::Object ^ sender, System::EventArgs ^ e)
{
MsgBox::Show(L"Error->Text = " + basicIdeCtl1->Error->Text);
}
See Also