UISettingsController.RequestDefaultAsync Method
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.
Retrieves the default UISettingsController with access to the Accessibility visual effects settings (Settings -> Accessibility -> Visual effects).
public:
static IAsyncOperation<UISettingsController ^> ^ RequestDefaultAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<UISettingsController> RequestDefaultAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<UISettingsController> RequestDefaultAsync();
function requestDefaultAsync()
Public Shared Function RequestDefaultAsync () As IAsyncOperation(Of UISettingsController)
Returns
An asynchronous operation that completes with a UISettingsController.
- Attributes
Remarks
Important
This API requires the use of the IoT systemManagement capability, and the inclusion of iot in the IgnorableNamespaces list.
Add the following to the Package.appmanifest:
- To
<Package>
IgnorableNamespaces="iot"
- Under
<Capabilities>
<iot:Capability Name="systemManagement"/>