Dela via


AppUriHandlerHost.IsEnabled Property

Definition

Gets or sets a value specifying if the host is enabled.

public:
 property bool IsEnabled { bool get(); void set(bool value); };
bool IsEnabled();

void IsEnabled(bool value);
public bool IsEnabled { get; set; }
var boolean = appUriHandlerHost.isEnabled;
appUriHandlerHost.isEnabled = boolean;
Public Property IsEnabled As Boolean

Property Value

Boolean

bool

True if the host is enabled; otherwise, false.

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Applies to