GrapeCity SPREAD for Windows Forms 11.0J
ErrorEventArgs コンストラクタ(Int32,String)


イベントのエラーコード
イベントのエラー文字列
指定したコードとテキストを使用して、ErrorEventArgsオブジェクトを作成します。
構文
'Declaration
 
Public Function New( _
   ByVal errorCode As Integer, _
   ByVal errorText As String _
)
'使用法
 
Dim errorCode As Integer
Dim errorText As String
 
Dim instance As New ErrorEventArgs(errorCode, errorText)
public ErrorEventArgs( 
   int errorCode,
   string errorText
)

パラメータ

errorCode
イベントのエラーコード
errorText
イベントのエラー文字列
private void control_UserError(object sender, FarPoint.Win.Input.ErrorEventArgs e) { Messagebox.Show(Convert.ToString(e.ErrorCode) + e.ErrorInfo); }
Private Sub control_UserError(ByVal sender As Object, ByVal e As FarPoint.Win.Input.ErrorEventArgs) Handles control.UserError Messagebox.Show(e.ErrorCode + e.ErrorInfo); End Sub
参照

ErrorEventArgs クラス
ErrorEventArgs メンバ
オーバーロード一覧

 

 


© 2004-2018, GrapeCity Inc. All rights reserved.