TargetedContentCollection Classe

Définition

Représente une collection d’éléments ou de sous-collections dans un objet 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
Héritage
Object Platform::Object IInspectable TargetedContentCollection
Attributs

Configuration requise pour Windows

Famille d’appareils
Windows 10 Creators Update (introduit dans 10.0.15063.0)
API contract
Windows.Services.TargetedContent.TargetedContentContract (introduit dans v1.0)
Fonctionnalités de l’application
secondaryAuthenticationFactor targetedContent

Propriétés

Collections

Obtient une collection d’objets TargetedContentCollection dans cette collection de contenu.

Id

Obtient l’ID de la collection.

Items

Obtient une collection d’objets TargetedContentItem .

Path

Obtient le chemin d’accès à un élément dans la collection de contenu.

Properties

Obtient un dictionnaire de clés de nom de propriété et d’objets TargetedContentValue dans la collection de contenu.

Méthodes

ReportCustomInteraction(String)

Signale une interaction personnalisée pour un objet TargetedContentCollection.

ReportInteraction(TargetedContentInteraction)

Signale les types d’interaction pour un objet TargetedContentCollection .

S’applique à

Voir aussi