Share via


ContactPhone Klasse

Definition

Stellt Informationen zum Telefon für einen Kontakt dar.

public ref class ContactPhone 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 ContactPhone 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 ContactPhone 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 ContactPhone
[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 ContactPhone
function ContactPhone()
Public NotInheritable Class ContactPhone
Vererbung
Object Platform::Object IInspectable ContactPhone
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

Informationen zum Verwalten von Kontakten finden Sie unter Kontakte und Kalender.

Konstruktoren

ContactPhone()

Initialisiert eine neue instance einer ContactPhone-Klasse.

Eigenschaften

Description

Ruft die Beschreibung des Telefons für einen Kontakt ab oder legt diese fest. Die maximale Zeichenfolgenlänge für die Beschreibung beträgt 512 Zeichen.

Kind

Ruft die Art des Telefons für einen Kontakt ab oder legt sie fest.

Number

Ruft die Telefonnummer eines Telefons für einen Kontakt ab oder legt sie fest. Die maximale Zeichenfolgenlänge für die Telefonnummer beträgt 50 Zeichen.

Gilt für:

Weitere Informationen