Freigeben über


Contact Konstruktoren

Definition

Überlädt

Contact()

Initialisiert eine neue Instanz der Contact-Klasse.

Contact(String, String, String, String, String, String, IEnumerable<ContactPhone>, IEnumerable<ContactEmail>, String)

Initialisiert eine neue Instanz der Contact-Klasse mit den angegebenen Daten.

Contact()

Quelle:
Contact.shared.cs
Quelle:
Contact.shared.cs

Initialisiert eine neue Instanz der Contact-Klasse.

public:
 Contact();
public Contact ();
Public Sub New ()

Gilt für:

Contact(String, String, String, String, String, String, IEnumerable<ContactPhone>, IEnumerable<ContactEmail>, String)

Quelle:
Contact.shared.cs
Quelle:
Contact.shared.cs

Initialisiert eine neue Instanz der Contact-Klasse mit den angegebenen Daten.

public Contact (string id, string namePrefix, string givenName, string middleName, string familyName, string nameSuffix, System.Collections.Generic.IEnumerable<Microsoft.Maui.ApplicationModel.Communication.ContactPhone> phones, System.Collections.Generic.IEnumerable<Microsoft.Maui.ApplicationModel.Communication.ContactEmail> email, string displayName = default);
new Microsoft.Maui.ApplicationModel.Communication.Contact : string * string * string * string * string * string * seq<Microsoft.Maui.ApplicationModel.Communication.ContactPhone> * seq<Microsoft.Maui.ApplicationModel.Communication.ContactEmail> * string -> Microsoft.Maui.ApplicationModel.Communication.Contact
Public Sub New (id As String, namePrefix As String, givenName As String, middleName As String, familyName As String, nameSuffix As String, phones As IEnumerable(Of ContactPhone), email As IEnumerable(Of ContactEmail), Optional displayName As String = Nothing)

Parameter

id
String

Der Bezeichner des Kontakts.

namePrefix
String

Das Präfix des Kontakts.

givenName
String

Der Vorname (oder Vorname) des Kontakts.

middleName
String

Der(n) zweite(n) Name(en) des Kontakts.

familyName
String

Der Familienname (oder Nachname) des Kontakts.

nameSuffix
String

Das Suffix des Kontakts.

phones
IEnumerable<ContactPhone>

Eine Sammlung von Telefonnummern für den Kontakt.

email
IEnumerable<ContactEmail>

Eine Sammlung von E-Mail-Adressen für den Kontakt.

displayName
String

Der Anzeigename des Kontakts.

Gilt für: