Język

VirtualDeviceManager.VirtualDeviceCreatedEventArgs.DeviceId Property

Definition

Gets the ID of the virtual device added to the system.

public int DeviceId { get; }
member this.DeviceId : int

Property Value

The virtual device ID supplied to the constructor.

Remarks

Pass this ID to GetVirtualDevice(Int32) to request the device details. That method returns null if the device no longer exists or has already closed.

Applies to