MobilePhone Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.