Share via


ContactAnnotation Klasse

Definition

Bietet eine Möglichkeit, vorhandene Benutzerkontakte mit zusätzlichen Informationen zu markieren und anzugeben, dass Ihre App einige UnterstützteOperations für diesen bestimmten Kontakt ausführen kann.

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
Vererbung
Object Platform::Object IInspectable ContactAnnotation
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)
App-Funktionen
contactsSystem

Hinweise

Versionsverlauf

Windows-Version SDK-Version Wertschöpfung
1703 15063 ContactListId

Konstruktoren

ContactAnnotation()

Initialisiert eine neue instance der ContactAnnotation-Klasse.

Eigenschaften

AnnotationListId

Ruft die ID für die übergeordnete ContactAnnotationList ab, in der diese ContactAnnotation enthalten ist.

ContactId

Ruft die ID für den Kontakt ab, für den diese ContactAnnotation gilt, oder legt sie fest.

ContactListId

Ruft die ContactList ab , auf die diese ContactAnnotation angewendet wird, oder legt sie fest.

Id

Ruft die ID für diese ContactAnnotation ab.

IsDisabled

Ruft einen booleschen Wert ab, der angibt, ob diese ContactAnnotation vom Benutzer deaktiviert wurde.

ProviderProperties

Stellt einen Ort zum Speichern von Daten bereit, die von der App bei der Interaktion mit einem Dienstanbieter verwendet werden.

RemoteId

Ruft eine ID ab, die von einem Dienstanbieter für den Zugriff auf die entsprechende Entität im Remotesystem verwendet werden kann, oder legt diese fest.

SupportedOperations

Ruft die Gruppe von ContactAnnotationOperations ab , die von dieser ContactAnnotation unterstützt wird, oder legt diese fest.

Gilt für:

Weitere Informationen