PhoneNumber Property  

Gets and sets the phone number for the mobile device.


object.PhoneNumber [= value ]


The PhoneNumber property returns the current phone number. Changing the value of this property will change the default phone number the SendMessage method will use when sending a message. This can be a standard E.164 formatted phone number or an unformatted number. Any extraneous whitespace, punctuation or other non-numeric characters in the string will be ignored.

Data Type


See Also

Message Property, Provider Property, Sender Property, SendMessage Method