Compartilhar via


CortanaSettings.IsSupported Método

Definição

Recupera se há suporte para as configurações da 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

Retornos

Boolean

bool

true se houver suporte para as configurações da Cortana. Caso contrário, false.

Atributos

Comentários

A classe CortanaSettings requer que o seguinte seja adicionado ao Package.appmanifest:

  • Para Empacotar <>
    • IgnorableNamespaces="iot"
  • Em <Recursos>
    • <iot:Capability Name="systemManagement"/>

Aplica-se a