DocumentListEventArgs Class
.NET Framework 2.0
Provides data for the DeletingDocument and DocumentActivated events.
Namespace: Microsoft.WindowsCE.Forms
Assembly: Microsoft.WindowsCE.Forms (in microsoft.windowsce.forms.dll)
Assembly: Microsoft.WindowsCE.Forms (in microsoft.windowsce.forms.dll)
The following code example defines a method that handles the DeletingDocument event. It uses the Path property of the DocumentListEventArgs to get the path to the deleted file. This code example is part of a larger example provided for the DocumentList class.
' 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
Windows Mobile for Pocket PC
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Community Additions
ADD
Show: