Share via


TargetedContentItem Class

Definition

Represents an item in a 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
Inheritance
Object Platform::Object IInspectable TargetedContentItem
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Services.TargetedContent.TargetedContentContract (introduced in v1.0)
App capabilities
secondaryAuthenticationFactor targetedContent

Properties

Collections

Gets a TargetedContentCollection object in the TargetedContentItem object.

Path

Gets the string path of the TargetedContentItem object.

Properties

Gets a collection containing property names (as keys) and TargetedContentValue objects.

State

Gets the TargetedContentItemState for the item.

Methods

ReportCustomInteraction(String)

Reports Custom Interaction for the item.

ReportInteraction(TargetedContentInteraction)

Reports the TargetedContentInteraction for the item.

Applies to

See also