共用方式為


CortanaActionableInsights.GetForUser(User) 方法

定義

擷取指定使用者的 CortanaActionableInsights 物件。

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

參數

user
User

使用者。

傳回

指定使用者的深入解析。

屬性

Windows 需求

應用程式功能
cortanaSurface

備註

CortanaActionableInsights 類別需要將下列專案新增至 Package.appxmanifest:

  • 至 <套件>
    • xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
    • IgnorableNamespaces="rescap"
  • 在 [功能] 下<>
    • <rescap:capability name="cortanaSurface"/>

適用於

另請參閱