Share via


DisplayMonitor.DisplayAdapterDeviceId Property

Definition

Gets the device identifier of the display adapter to which the monitor is connected. Note that the display adapter may not be the most suitable device for rendering.

public:
 property Platform::String ^ DisplayAdapterDeviceId { Platform::String ^ get(); };
winrt::hstring DisplayAdapterDeviceId();
public string DisplayAdapterDeviceId { get; }
var string = displayMonitor.displayAdapterDeviceId;
Public ReadOnly Property DisplayAdapterDeviceId As String

Property Value

String

Platform::String

winrt::hstring

The device identifier for the display adapter to which the monitor is connected if known, otherwise null.

Applies to