TargetedContentItem 类

定义

表示 TargetedContentCollection 中的项。

public ref class TargetedContentItem sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Services.TargetedContent.TargetedContentContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class TargetedContentItem final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Services.TargetedContent.TargetedContentContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class TargetedContentItem
Public NotInheritable Class TargetedContentItem
继承
Object Platform::Object IInspectable TargetedContentItem
属性

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Services.TargetedContent.TargetedContentContract (在 v1.0 中引入)
应用功能
secondaryAuthenticationFactor targetedContent

属性

Collections

获取 TargetedContentItem 对象中的 TargetedContentCollection 对象。

Path

获取 TargetedContentItem 对象的字符串路径。

Properties

获取一个集合,其中包含属性名称 (作为键) 和 TargetedContentValue 对象。

State

获取项的 TargetedContentItemState

方法

ReportCustomInteraction(String)

报告项的自定义交互。

ReportInteraction(TargetedContentInteraction)

报告项的 TargetedContentInteraction

适用于

另请参阅