Share via


ContactAnnotation Classe

Définition

Fournit un moyen d’étiqueter des contacts utilisateur existants avec des informations supplémentaires, en spécifiant que votre application peut effectuer des opérations SupportedOperations pour ce contact particulier.

public ref class ContactAnnotation sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ContactAnnotation final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class ContactAnnotation final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ContactAnnotation
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class ContactAnnotation
function ContactAnnotation()
Public NotInheritable Class ContactAnnotation
Héritage
Object Platform::Object IInspectable ContactAnnotation
Attributs

Configuration requise pour Windows

Famille d’appareils
Windows 10 (introduit dans 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v1.0)
Fonctionnalités de l’application
contactsSystem

Remarques

Historique des versions

Version de Windows Version du SDK Valeur ajoutée
1703 15063 ContactListId

Constructeurs

ContactAnnotation()

Initialise une nouvelle instance de la classe ContactAnnotation.

Propriétés

AnnotationListId

Obtient l’ID du parent ContactAnnotationList dans lequel ce ContactAnnotation est contenu.

ContactId

Obtient ou définit l’ID du contact auquel ce ContactAnnotation s’applique .

ContactListId

Obtient ou définit la Liste de contacts à laquelle s’applique ce ContactAnnotation .

Id

Obtient l’ID de ce ContactAnnotation.

IsDisabled

Obtient une valeur booléenne qui indique si ce ContactAnnotation a été désactivé par l’utilisateur.

ProviderProperties

Fournit un emplacement pour stocker les données à utiliser par l’application lors de l’interaction avec un fournisseur de services.

RemoteId

Obtient ou définit un ID qui peut être utilisé par un fournisseur de services pour accéder à l’entité correspondante dans son système distant.

SupportedOperations

Obtient ou définit le groupe de ContactAnnotationOperations pris en charge par ce ContactAnnotation.

S’applique à

Voir aussi