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

プロパティ

Id

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

IsClassicDevice

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

IsLowEnergyDevice

これが LowEnergy デバイスであるかどうかを示すブール値を取得します。

メソッド

FromId(String)

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

適用対象