Compartilhar via


CortanaSettings.GetDefault Método

Definição

Recupera as configurações da Cortana para o usuário atual.

public:
 static CortanaSettings ^ GetDefault();
 static CortanaSettings GetDefault();
/// [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 CortanaSettings GetDefault();
public static CortanaSettings GetDefault();
[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 CortanaSettings GetDefault();
function getDefault()
Public Shared Function GetDefault () As CortanaSettings

Retornos

Um objeto CortanaSettings.

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