SmsDevice2.FromParentId(String) 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 for a device, given the device ID of the parent device.
public:
static SmsDevice2 ^ FromParentId(Platform::String ^ parentDeviceId);
static SmsDevice2 FromParentId(winrt::hstring const& parentDeviceId);
public static SmsDevice2 FromParentId(string parentDeviceId);
function fromParentId(parentDeviceId)
Public Shared Function FromParentId (parentDeviceId As String) As SmsDevice2
Parameters
- parentDeviceId
-
String
Platform::String
winrt::hstring
The device ID of the parent device.
Returns
An instance of SmsDevice2 initialized for the device with the given parent ID.
Windows requirements
App capabilities |
cellularMessaging
sms
|