Compartir a través de


CortanaSettings.IsSupported Método

Definición

Recupera si se admite la configuración de Cortana.

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

Devoluciones

Boolean

bool

true si se admite la configuración de Cortana. De lo contrario, se devuelve el valor False.

Atributos

Comentarios

La clase CortanaSettings requiere que se agregue lo siguiente a Package.appmanifest:

  • Para empaquetar <>
    • IgnorableNamespaces="iot"
  • En <Funcionalidades>
    • <iot:Capability Name="systemManagement"/>

Se aplica a