CortanaActionableInsights.GetForUser(User) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索指定用户的 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"/>