Share via


ContactPhone Constructors

Definition

Overloads

ContactPhone()

Initializes a new instance of the ContactPhone class.

ContactPhone(String)

Initializes a new instance of the ContactPhone class with the given data.

ContactPhone()

Source:
Contact.shared.cs
Source:
Contact.shared.cs

Initializes a new instance of the ContactPhone class.

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

Applies to

ContactPhone(String)

Source:
Contact.shared.cs
Source:
Contact.shared.cs

Initializes a new instance of the ContactPhone class with the given data.

public:
 ContactPhone(System::String ^ phoneNumber);
public ContactPhone (string phoneNumber);
new Microsoft.Maui.ApplicationModel.Communication.ContactPhone : string -> Microsoft.Maui.ApplicationModel.Communication.ContactPhone
Public Sub New (phoneNumber As String)

Parameters

phoneNumber
String

The phone number.

Applies to