TargetedContentCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a collection of items or sub-collections in a TargetedContentContainer object.
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
- Inheritance
- 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. |