Bagikan melalui


CortanaActionableInsights.GetDefault Metode

Definisi

Mengambil objek CortanaActionableInsights untuk pengguna saat ini.

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

Mengembalikan

Wawasan untuk pengguna saat ini.

Atribut

Persyaratan Windows

Kemampuan aplikasi
cortanaSurface

Keterangan

Kelas CortanaActionableInsights mengharuskan hal berikut ditambahkan ke Package.appxmanifest:

  • Ke <Paket>
    • xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
    • IgnorableNamespaces="rescap"
  • Di bawah <Kapabilitas>
    • <rescap:capability name="cortanaSurface"/>

Berlaku untuk

Lihat juga