Condividi tramite


CortanaActionableInsights.GetForUser(User) Metodo

Definizione

Recupera un oggetto CortanaActionableInsights per l'utente specificato.

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

Parametri

user
User

Utente.

Restituisce

Informazioni dettagliate per l'utente specificato.

Attributi

Requisiti Windows

Funzionalità dell'app
cortanaSurface

Commenti

La classe CortanaActionableInsights richiede l'aggiunta seguente al Package.appxmanifest:

  • Per <il pacchetto>
    • xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
    • IgnorableNamespaces="rescap"
  • In <Funzionalità>
    • <rescap:capability name="cortanaSurface"/>

Si applica a

Vedi anche