Dela via


DevicePicker.SetDisplayStatus Method

Definition

Updates the picker UI to reflect the provided status and display options for a specified device. The state of the picker UI typically persists until the operating system (OS) is restarted.

public:
 virtual void SetDisplayStatus(DeviceInformation ^ device, Platform::String ^ status, DevicePickerDisplayStatusOptions options) = SetDisplayStatus;
void SetDisplayStatus(DeviceInformation const& device, winrt::hstring const& status, DevicePickerDisplayStatusOptions const& options);
public void SetDisplayStatus(DeviceInformation device, string status, DevicePickerDisplayStatusOptions options);
function setDisplayStatus(device, status, options)
Public Sub SetDisplayStatus (device As DeviceInformation, status As String, options As DevicePickerDisplayStatusOptions)

Parameters

device
DeviceInformation

The device information.

status
String

Platform::String

winrt::hstring

The status to display.

options
DevicePickerDisplayStatusOptions

The display options for the device.

Applies to