共用方式為


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

適用於

另請參閱