SmsDevice2.AccountPhoneNumber Property
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.
Gets the phone number associated with the SMS device. The phone number can be used to associate incoming messages with the account and possibly an external storage mechanism such as an account inbox.
public:
property Platform::String ^ AccountPhoneNumber { Platform::String ^ get(); };
winrt::hstring AccountPhoneNumber();
public string AccountPhoneNumber { get; }
var string = smsDevice2.accountPhoneNumber;
Public ReadOnly Property AccountPhoneNumber As String
Property Value
A string representation of the account phone number.
Windows requirements
App capabilities |
cellularMessaging
sms
|