Edit

Share via


MobilePhone Constructors

Definition

Overloads

MobilePhone()

Initializes a new instance of the MobilePhone class.

MobilePhone(String, String)

Initializes a new instance of the MobilePhone class.

MobilePhone()

Initializes a new instance of the MobilePhone class.

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

Applies to

MobilePhone(String, String)

Initializes a new instance of the MobilePhone class.

public:
 MobilePhone(System::String ^ name, System::String ^ phoneNumber);
public MobilePhone (string name, string phoneNumber);
Public Sub New (name As String, phoneNumber As String)

Parameters

name
String

The name that is associated with the mobile phone.

phoneNumber
String

The number of the mobile phone.

Applies to