Поделиться через


CortanaActionableInsights.GetDefault Метод

Определение

Извлекает объект CortanaActionableInsights для текущего пользователя.

public:
 static CortanaActionableInsights ^ GetDefault();
 static CortanaActionableInsights GetDefault();
/// [Windows.Foundation.Metadata.Deprecated("CortanaActionableInsights is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
 static CortanaActionableInsights GetDefault();
public static CortanaActionableInsights GetDefault();
[Windows.Foundation.Metadata.Deprecated("CortanaActionableInsights is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
public static CortanaActionableInsights GetDefault();
function getDefault()
Public Shared Function GetDefault () As CortanaActionableInsights

Возвращаемое значение

Аналитические сведения для текущего пользователя.

Атрибуты

Требования к Windows

Возможности приложения
cortanaSurface

Комментарии

Класс CortanaActionableInsights требует добавления в package.appxmanifest следующее:

  • В <пакет>
    • xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
    • IgnorableNamespaces="rescap"
  • В разделе <Возможности>
    • <rescap:capability name="cortanaSurface"/>

Применяется к

См. также раздел