TargetedContentItem Classe
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
- 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
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour