BluetoothClassOfDevice.FromParts Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a BluetoothClassOfDevice object by supplying values for BluetoothMajorClass, BluetoothMinorClass and BluetoothClassOfDevice.
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
Parameters
- majorClass
- BluetoothMajorClass
One of the enumeration values that specifies the device's main function.
- minorClass
- BluetoothMinorClass
One of the enumeration values that specifies the minor class value to be used.
- serviceCapabilities
- BluetoothServiceCapabilities
One of the enumeration values that specifies the service the device supports.
Returns
A BluetoothClassOfDevice object.
Windows requirements
App capabilities |
bluetooth
|