TargetedContentCollection 类

定义

表示 TargetedContentContainer 对象中的项或子集合的集合。

public ref class TargetedContentCollection 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 TargetedContentCollection 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 TargetedContentCollection
Public NotInheritable Class TargetedContentCollection
继承
Object Platform::Object IInspectable TargetedContentCollection
属性

Windows 要求

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

属性

Collections

获取此内容集合中的 TargetedContentCollection 对象的集合。

Id

获取集合的 ID。

Items

获取 TargetedContentItem 对象的集合。

Path

获取内容集合中项的路径。

Properties

获取内容集合中属性名称键和 TargetedContentValue 对象的字典。

方法

ReportCustomInteraction(String)

报告 TargetedContentCollection 对象的自定义交互。

ReportInteraction(TargetedContentInteraction)

报告 TargetedContentCollection 对象的交互类型。

适用于

另请参阅