Dela via


BluetoothClassOfDevice.FromParts Method

Definition

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

Applies to