Language

BluetoothDeviceId クラス

定義

Bluetooth デバイス ID を表します。

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

プロパティ

Name 説明
Id

Bluetooth デバイス ID を取得します。

IsClassicDevice

これがクラシック デバイスかどうかを示すブール値を取得します。

IsLowEnergyDevice

LowEnergy デバイスかどうかを示すブール値を取得します。

メソッド

Name 説明
FromId(String)

デバイス ID から BluetoothDeviceId オブジェクトを作成します。

適用対象