CortanaSettings.IsSupported 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 whether Cortana settings are supported.
public:
static bool IsSupported();
static bool IsSupported();
/// [Windows.Foundation.Metadata.Deprecated("ICortanaSettingsStatics is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.System.SystemManagementContract")]
static bool IsSupported();
public static bool IsSupported();
[Windows.Foundation.Metadata.Deprecated("ICortanaSettingsStatics is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.System.SystemManagementContract")]
public static bool IsSupported();
function isSupported()
Public Shared Function IsSupported () As Boolean
Returns
Boolean
bool
true if Cortana settings are supported. Otherwise, false.
- Attributes
Remarks
The CortanaSettings class requires the following be added to the Package.appmanifest:
- To <Package>
IgnorableNamespaces="iot"
- Under <Capabilities>
<iot:Capability Name="systemManagement"/>