Freigeben über


CortanaActionableInsights.GetDefault Methode

Definition

Ruft ein CortanaActionableInsights-Objekt für den aktuellen Benutzer ab.

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

Gibt zurück

Die Erkenntnisse für den aktuellen Benutzer.

Attribute

Windows-Anforderungen

App-Funktionen
cortanaSurface

Hinweise

Für die CortanaActionableInsights-Klasse muss Package.appxmanifest Folgendes hinzugefügt werden:

  • Zum <Packen>
    • xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
    • IgnorableNamespaces="rescap"
  • Unter <Funktionen>
    • <rescap:capability name="cortanaSurface"/>

Gilt für:

Weitere Informationen