Share via


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 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
Inheritance
Object Platform::Object IInspectable ContactAnnotation
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
contactsSystem

Remarks

Version history

Windows version SDK version Value added
1703 15063 ContactListId

Constructors

ContactAnnotation()

Initializes a new instance of the ContactAnnotation class.

Properties

AnnotationListId

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

ContactId

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

ContactListId

Gets or sets the ContactList to which this ContactAnnotation applies.

Id

Gets the ID for this ContactAnnotation.

IsDisabled

Gets a Boolean value that indicates whether this ContactAnnotation has been disabled by the user.

ProviderProperties

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

RemoteId

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

SupportedOperations

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

Applies to

See also