CortanaActionableInsights.User Proprietà
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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"/>