SmsDevice2.GetDefault Method
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.
Creates an instance of SmsDevice2 associated with the default SMS device.
public:
static SmsDevice2 ^ GetDefault();
static SmsDevice2 GetDefault();
public static SmsDevice2 GetDefault();
function getDefault()
Public Shared Function GetDefault () As SmsDevice2
Returns
An instance of SmsDevice2 initialized for the default SMS device.
Windows requirements
App capabilities |
cellularMessaging
sms
|