C# Class ZForge.Win32.RemovableDriveDetectorEventArgs

Our class for passing in custom arguments to our event handlers
Inheritance: System.EventArgs
Exibir arquivo Open project: zhuangyy/Motion Class Usage Examples

Public Properties

Property Type Description
Cancel bool
Drive string
HookQueryRemove bool

Public Methods

Method Description
RemovableDriveDetectorEventArgs ( ) : System

Method Details

RemovableDriveDetectorEventArgs() public method

public RemovableDriveDetectorEventArgs ( ) : 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