GattDeviceService.DeviceId 屬性

定義

取得字串,表示用來具現化 GattDeviceService 的 GATT 服務實例路徑。

public:
 property Platform::String ^ DeviceId { Platform::String ^ get(); };
winrt::hstring DeviceId();
public string DeviceId { get; }
var string = gattDeviceService.deviceId;
Public ReadOnly Property DeviceId As String

屬性值

String

Platform::String

winrt::hstring

字串,表示用來具現化 GattDeviceService 的 GATT 服務實例路徑。

Windows 需求

應用程式功能
bluetooth

適用於