Compartir a través de


CortanaSettings.GetDefault Método

Definición

Recupera la configuración de Cortana para el usuario actual.

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

Devoluciones

Objeto CortanaSettings.

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