ICImagingControl.DeviceLost Event
デバイスが有効でなくなった場合に呼び出されるイベントです。例:プラグがはずれた時など
構文
[VB.NET]
Public Event DeviceLost( ByVal sender As Object, ByVal e As TIS.Imaging.ICImagingControl.DeviceLostEventArgs )
[C#]public event System.EventHandler<ICImagingControl.DeviceLostEventArgs> DeviceLost;
パラメータ | 説 明 |
---|---|
sender | イベントの発生したオブジェクトを指します。ここではICImagingControlのインスタンスということになります |
e | 喪失したデバイスの情報を保持する DeviceLostEventArgsクラスライブラリリファレンス>クラス>DeviceLostEventArgs オブジェクトです。 |
備考
ICImagingControl.Deviceクラスライブラリリファレンス>クラス>ICImagingControl>ICImagingControl.Device Property プロパティはDeviceLost サブ関数内で空白の文字列("")に設定してクリアする必要があります。
関連項目
ICImagingControlクラスライブラリリファレンス>クラス>ICImagingControl, ICImagingControl.Deviceクラスライブラリリファレンス>クラス>ICImagingControl>ICImagingControl.Device Property, ICImagingControl.LiveStartクラスライブラリリファレンス>クラス>ICImagingControl>ICImagingControl.LiveStart Method, ICImagingControl.LiveStopクラスライブラリリファレンス>クラス>ICImagingControl>ICImagingControl.LiveStop Method, DeviceLostEventArgsクラスライブラリリファレンス>クラス>DeviceLostEventArgs