Bagikan melalui


CortanaActionableInsights.GetForUser(User) Metode

Definisi

Mengambil objek CortanaActionableInsights untuk pengguna yang ditentukan.

public:
 static CortanaActionableInsights ^ GetForUser(User ^ user);
 static CortanaActionableInsights GetForUser(User const& user);
/// [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 GetForUser(User const& user);
public static CortanaActionableInsights GetForUser(User user);
[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 GetForUser(User user);
function getForUser(user)
Public Shared Function GetForUser (user As User) As CortanaActionableInsights

Parameter

user
User

Pengguna.

Mengembalikan

Wawasan untuk pengguna yang ditentukan.

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