ContactAnnotation ContactAnnotation ContactAnnotation ContactAnnotation Class

Definition

Provides a way to tag existing user contacts with additional information, specifying that your app can perform some SupportedOperations for this particular contact.

public : sealed class ContactAnnotation : IContactAnnotation, IContactAnnotation2public sealed class ContactAnnotation : IContactAnnotation, IContactAnnotation2Public NotInheritable Class ContactAnnotation Implements IContactAnnotation, IContactAnnotation2// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

ContactAnnotation() ContactAnnotation() ContactAnnotation() ContactAnnotation()

Initializes a new instance of the ContactAnnotation class.

public : ContactAnnotation()public ContactAnnotation()Public Sub New()// You can use this method in JavaScript.

Properties

AnnotationListId AnnotationListId AnnotationListId AnnotationListId

Gets the ID for the parent ContactAnnotationList that this ContactAnnotation is contained within.

public : PlatForm::String AnnotationListId { get; }public string AnnotationListId { get; }Public ReadOnly Property AnnotationListId As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The ID for the parent ContactAnnotationList that this ContactAnnotation is contained within.

ContactId ContactId ContactId ContactId

Gets or set the ID for the Contact to which this ContactAnnotation applies.

public : PlatForm::String ContactId { get; set; }public string ContactId { get; set; }Public ReadWrite Property ContactId As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The ID for the Contact to which this ContactAnnotation applies.

ContactListId ContactListId ContactListId ContactListId

Gets or sets the ContactList to which this ContactAnnotation applies.

public : PlatForm::String ContactListId { get; set; }public string ContactListId { get; set; }Public ReadWrite Property ContactListId As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The ID for the ContactList to which this ContactAnnotation applies.

Additional features and requirements
Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Id Id Id Id

Gets the ID for this ContactAnnotation.

public : PlatForm::String Id { get; }public string Id { get; }Public ReadOnly Property Id As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The ID for this ContactAnnotation.

IsDisabled IsDisabled IsDisabled IsDisabled

Gets a Boolean value indicating if this ContactAnnotation has been disabled by the user.

public : PlatForm::Boolean IsDisabled { get; }public bool IsDisabled { get; }Public ReadOnly Property IsDisabled As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

Boolean value indicating if this ContactAnnotation has been disabled by the user.

ProviderProperties ProviderProperties ProviderProperties ProviderProperties

Provides a place to store data to be used by the app when interacting with a service provider.

public : ValueSet ProviderProperties { get; }public ValueSet ProviderProperties { get; }Public ReadOnly Property ProviderProperties As ValueSet// You can use this property in JavaScript.
Value
ValueSet ValueSet ValueSet ValueSet

Data to be used by the app when interacting with a service provider.

RemoteId RemoteId RemoteId RemoteId

Gets or sets an ID that can be used by a service provider to access the corresponding entity in their remote system.

public : PlatForm::String RemoteId { get; set; }public string RemoteId { get; set; }Public ReadWrite Property RemoteId As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

An ID that can be used by a service provider to access the corresponding entity in their remote system.

SupportedOperations SupportedOperations SupportedOperations SupportedOperations

Gets or sets the group of ContactAnnotationOperations supported by this ContactAnnotation.

public : ContactAnnotationOperations SupportedOperations { get; set; }public ContactAnnotationOperations SupportedOperations { get; set; }Public ReadWrite Property SupportedOperations As ContactAnnotationOperations// You can use this property in JavaScript.

Remarks

ContactAnnotationOperations values can be combined into a single value by using the OR operator to make a list of supported operations.

See Also