public class DocumentListEventArgs : EventArgs
This event data contains the path to the file that was either deleted or activated, so you can program your application to close or open the file.
The following code example defines a method that handles the
event. It uses the DeletingDocument property of the Path to get the path to the deleted file. This code example is part of a larger example provided for the DocumentListEventArgs class. DocumentList
private void OnDelDoc( object obj, DocumentListEventArgs docg)
statusBar1.Text += "Deleted: " + docg.Path;
// Add code to close any instances of the file.
in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Windows Mobile for Pocket PC
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
.NET Compact Framework
Supported in: 3.5, 2.0