C# Class Dolinay.DriveDetectorEventArgs

Our class for passing in custom arguments to our event handlers
Inheritance: System.EventArgs
显示文件 Open project: nefarius/TrueMount-3 Class Usage Examples

Public Properties

Property Type Description
Cancel bool
Drive string
HookQueryRemove bool

Public Methods

Method Description
DriveDetectorEventArgs ( ) : System

Method Details

DriveDetectorEventArgs() public method

public DriveDetectorEventArgs ( ) : System
return System

Property Details

Cancel public_oe property

Get/Set the value indicating that the event should be cancelled Only in QueryRemove handler.
public bool Cancel
return bool

Drive public_oe property

Drive letter for the device which caused this event
public string Drive
return string

HookQueryRemove public_oe property

Set to true in your DeviceArrived event handler if you wish to receive the QueryRemove event for this drive.
public bool HookQueryRemove
return bool