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

取得集合的識別碼。

Items

取得 TargetedContentItem 物件的集合。

Path

取得內容集合中專案的路徑。

Properties

取得內容集合中屬性名稱索引鍵和 TargetedContentValue 物件的字典。

方法

ReportCustomInteraction(String)

報告 TargetedContentCollection 物件的自訂互動。

ReportInteraction(TargetedContentInteraction)

報告 TargetedContentCollection 物件的互動類型。

適用於

另請參閱