DocumentList.OnDeletingDocument メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > DocumentList.OnDeletingDocument メソッドの意味・解説 

DocumentList.OnDeletingDocument メソッド

DeletingDocument イベント発生させます

名前空間: Microsoft.WindowsCE.Forms
アセンブリ: Microsoft.WindowsCE.Forms (microsoft.windowsce.forms.dll 内)
構文構文

Protected Overridable Sub
 OnDeletingDocument ( _
    e As DocumentListEventArgs _
)
Dim e As DocumentListEventArgs

Me.OnDeletingDocument(e)
protected virtual void OnDeletingDocument (
    DocumentListEventArgs e
)
protected:
virtual void OnDeletingDocument (
    DocumentListEventArgs^ e
)
protected void OnDeletingDocument (
    DocumentListEventArgs e
)
protected function OnDeletingDocument (
    e : DocumentListEventArgs
)

パラメータ

e

イベント データ格納している DocumentListEventArgs。

解説解説
使用例使用例

DeletingDocument イベント処理するメソッドコード例次に示します。このコード例は、DocumentList クラストピック取り上げているコード例一部分です。

' Handle the DeletingDocument 
' event with code to close the file.
 Private Sub DocList_DeletingDocument(ByVal
 sender As Object, _
 ByVal docevent As Microsoft.WindowsCE.Forms.DocumentListEventArgs)
 _
 Handles DocumentList1.DeletingDocument

     StatusBar1.Text = "Deleted: " & docevent.Path
     ' Add code to close any instances of the file.
 End Sub
private void OnDelDoc(object obj, DocumentListEventArgs
 docg)
{
    statusBar1.Text += "Deleted: " + docg.Path;

    // Add code to close any instances of the file.
}
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
DocumentList クラス
DocumentList メンバ
Microsoft.WindowsCE.Forms 名前空間



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

DocumentList.OnDeletingDocument メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



DocumentList.OnDeletingDocument メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS