Gets the error number for the syntax or execution error.
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
SyntaxReadOnly Property Number As Integer
Get
property int Number {
int get ();
}
Property Value
Int32
The error number for the syntax or execution error.
Remarks
This property works in conjunction with the other error properties to
allow your application access to the source
of a WinWrap Basic syntax or execution error.
Example
Display the error number during the ErrorAlert event:
private void basicIdeCtl1_ErrorAlert(object sender, System.EventArgs e)
{
MessageBox.Show("Error.Number = " + basicIdeCtl1.Error.Number);
}
Private Sub BasicIdeCtl1_ErrorAlert ( ByVal sender As Object, ByVal e As System.EventArgs)
MessageBox.Show("Error.Number = " & BasicIdeCtl1.Error.Number)
End Sub
private: System::Void basicIdeCtl1_ErrorAlert(System::Object ^ sender, System::EventArgs ^ e)
{
MsgBox::Show(L"Error->Number = " + basicIdeCtl1->Error->Number.ToString());
}
See Also