PhoneLineTransportDevice.FromId(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从给定的 DeviceId 中获取 PhoneLineTransportDevice。
public:
static PhoneLineTransportDevice ^ FromId(Platform::String ^ id);
static PhoneLineTransportDevice FromId(winrt::hstring const& id);
public static PhoneLineTransportDevice FromId(string id);
function fromId(id)
Public Shared Function FromId (id As String) As PhoneLineTransportDevice
参数
返回
如果 DeviceId 与现有设备不对应,则为 PhoneLineTransportDevice 或 null。