次の方法で共有


BluetoothClassOfDevice.FromParts メソッド

定義

public:
 static BluetoothClassOfDevice ^ FromParts(BluetoothMajorClass majorClass, BluetoothMinorClass minorClass, BluetoothServiceCapabilities serviceCapabilities);
 static BluetoothClassOfDevice FromParts(BluetoothMajorClass const& majorClass, BluetoothMinorClass const& minorClass, BluetoothServiceCapabilities const& serviceCapabilities);
public static BluetoothClassOfDevice FromParts(BluetoothMajorClass majorClass, BluetoothMinorClass minorClass, BluetoothServiceCapabilities serviceCapabilities);
function fromParts(majorClass, minorClass, serviceCapabilities)
Public Shared Function FromParts (majorClass As BluetoothMajorClass, minorClass As BluetoothMinorClass, serviceCapabilities As BluetoothServiceCapabilities) As BluetoothClassOfDevice

パラメーター

majorClass
BluetoothMajorClass

デバイスのメイン関数を指定する列挙値の 1 つ。

minorClass
BluetoothMinorClass

使用するマイナー クラス値を指定する列挙値の 1 つ。

serviceCapabilities
BluetoothServiceCapabilities

デバイスがサポートするサービスを指定する列挙値の 1 つ。

戻り値

BluetoothClassOfDevice オブジェクト。

Windows の要件

アプリの機能
bluetooth

適用対象