Compartir a través de


BluetoothLEAppearance.FromParts(UInt16, UInt16) Método

Definición

Crea un objeto BluetoothLEAppearance proporcionando valores para Category (consulte BluetoothLEAppearanceCategories) y Subcategory (consulte BluetoothLEAppearanceSubcategories) del dispositivo Bluetooth LE.

public:
 static BluetoothLEAppearance ^ FromParts(unsigned short appearanceCategory, unsigned short appearanceSubCategory);
 static BluetoothLEAppearance FromParts(uint16_t const& appearanceCategory, uint16_t const& appearanceSubCategory);
public static BluetoothLEAppearance FromParts(ushort appearanceCategory, ushort appearanceSubCategory);
function fromParts(appearanceCategory, appearanceSubCategory)
Public Shared Function FromParts (appearanceCategory As UShort, appearanceSubCategory As UShort) As BluetoothLEAppearance

Parámetros

appearanceCategory
UInt16

unsigned short

uint16_t

La categoría de apariencia Bluetooth LE. Consulta BluetoothLEAppearanceCategories.

appearanceSubCategory
UInt16

unsigned short

uint16_t

Subcategoría de apariencia Bluetooth LE. Consulta BluetoothLEAppearanceSubcategories.

Devoluciones

Objeto de apariencia Bluetooth LE que se creó a partir de la categoría de apariencia y subcategoría.

Requisitos de Windows

Características de aplicaciones
bluetooth

Se aplica a