Compartir a través de


BluetoothClassOfDevice.FromParts Método

Definición

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

Parámetros

majorClass
BluetoothMajorClass

Uno de los valores de enumeración que especifica la función principal del dispositivo.

minorClass
BluetoothMinorClass

Uno de los valores de enumeración que especifica el valor de clase secundaria que se va a usar.

serviceCapabilities
BluetoothServiceCapabilities

Uno de los valores de enumeración que especifica el servicio que admite el dispositivo.

Devoluciones

Objeto BluetoothClassOfDevice.

Requisitos de Windows

Características de aplicaciones
bluetooth

Se aplica a