Condividi tramite


CortanaActionableInsights.User Proprietà

Definizione

Ottiene l'utente associato all'oggetto CortanaActionableInsights corrente.

public:
 property User ^ User { User ^ get(); };
User User();
/// [get: 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")]
User User();
public User User { get; }
public 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")] get; }
var user = cortanaActionableInsights.user;
Public ReadOnly Property User As User

Valore della proprietà

Utente associato all'oggetto CortanaActionableInsights corrente.

Potrebbe restituire Null se l'oggetto CortanaActionableInsights è stato creato con il metodo GetDefault .

Attributi

Requisiti Windows

Funzionalità dell'app
cortanaSurface

Commenti

Per la classe CortanaActionableInsights è necessario aggiungere quanto segue a Package.appxmanifest:

  • A <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