RfcommServiceId.FromUuid(Guid) 方法

定义

从 128 位服务 ID 创建 RfcommServiceId 对象。

public:
 static RfcommServiceId ^ FromUuid(Platform::Guid uuid);
 static RfcommServiceId FromUuid(winrt::guid const& uuid);
public static RfcommServiceId FromUuid(Guid uuid);
function fromUuid(uuid)
Public Shared Function FromUuid (uuid As Guid) As RfcommServiceId

参数

uuid
Guid

Platform::Guid

winrt::guid

128 位服务 ID。

返回

RfcommServiceId 对象。

Windows 要求

应用功能
bluetooth

适用于