BluetoothClassOfDevice.FromParts 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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
指定设备的main函数的枚举值之一。
- minorClass
- BluetoothMinorClass
指定要使用的次要类值的枚举值之一。
- serviceCapabilities
- BluetoothServiceCapabilities
指定设备支持的服务的枚举值之一。
返回
BluetoothClassOfDevice 对象。
Windows 要求
应用功能 |
bluetooth
|