BluetoothDeviceId 類別

定義

表示藍牙裝置識別碼。

public ref class BluetoothDeviceId sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class BluetoothDeviceId final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class BluetoothDeviceId
Public NotInheritable Class BluetoothDeviceId
繼承
Object Platform::Object IInspectable BluetoothDeviceId
屬性

Windows 需求

裝置系列
Windows 10 Creators Update (已於 10.0.15063.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)
應用程式功能
bluetooth

備註

版本歷程記錄

Windows 版本 SDK 版本 新增值
1709 16299 FromId

屬性

Id

取得藍牙裝置識別碼。

IsClassicDevice

取得布林值,指出這是否為傳統裝置。

IsLowEnergyDevice

取得布林值,指出這是否為 LowEnergy 裝置。

方法

FromId(String)

從裝置識別碼建立 BluetoothDeviceId 物件。

適用於