VirtualDeviceManager.VirtualDeviceCreatedEventArgs.DeviceId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.