Jaa


SmsDevice2.AccountPhoneNumber Property

Definition

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

String

Platform::String

winrt::hstring

A string representation of the account phone number.

Windows requirements

App capabilities
cellularMessaging sms

Applies to

See also