TargetedContentItem Classe

Définition

Représente un élément dans une collection 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
Héritage
Object Platform::Object IInspectable TargetedContentItem
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 un objet TargetedContentCollection dans l’objet TargetedContentItem.

Path

Obtient le chemin de chaîne de l’objet TargetedContentItem.

Properties

Obtient une collection contenant des noms de propriétés (en tant que clés) et des objets TargetedContentValue .

State

Obtient l’objet TargetedContentItemState pour l’élément.

Méthodes

ReportCustomInteraction(String)

Signale l’interaction personnalisée pour l’élément.

ReportInteraction(TargetedContentInteraction)

Signale l’action TargetedContentInteraction pour l’élément.

S’applique à

Voir aussi