Freigeben über


CortanaActionableInsights.User Eigenschaft

Definition

Ruft den Benutzer ab, der dem aktuellen CortanaActionableInsights-Objekt zugeordnet ist.

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

Eigenschaftswert

Der Benutzer, der dem aktuellen CortanaActionableInsights-Objekt zugeordnet ist.

Gibt möglicherweise NULL zurück, wenn das CortanaActionableInsights-Objekt mit der GetDefault-Methode erstellt wurde.

Attribute

Windows-Anforderungen

App-Funktionen
cortanaSurface

Hinweise

Die CortanaActionableInsights-Klasse erfordert Folgendes, das dem Package.appxmanifest hinzugefügt werden muss:

  • Zum <Paket>
    • xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
    • IgnorableNamespaces="rescap"
  • Unter <Funktionen>
    • <rescap:capability name="cortanaSurface"/>

Gilt für:

Weitere Informationen