TargetedContentCollection Class

Definition

Represents a collection of items or sub-collections in a TargetedContentContainer object.

C#
[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
Inheritance
Object TargetedContentCollection
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 collection of TargetedContentCollection objects in this content collection.

Id

Gets the ID of the Collection.

Items

Gets a collection of TargetedContentItem objects.

Path

Gets the path to an item in the content collection.

Properties

Gets a dictionary of property name keys and TargetedContentValue objects in the content collection.

Methods

ReportCustomInteraction(String)

Reports custom interaction for a TargetedContentCollection object.

ReportInteraction(TargetedContentInteraction)

Reports interaction types for a TargetedContentCollection object.

Applies to

Product Versions
WinRT Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100

See also