Compartilhar via


BluetoothLEAppearance.FromParts(UInt16, UInt16) Método

Definição

Cria um objeto BluetoothLEAppearance fornecendo valores para Category (consulte BluetoothLEAppearanceCategories) e Subcategory (consulte BluetoothLEAppearanceSubcategories) do 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

A categoria de aparência de LE Bluetooth. Consulte BluetoothLEAppearanceCategories.

appearanceSubCategory
UInt16

unsigned short

uint16_t

A subcategoria de aparência de LE Bluetooth. Consulte BluetoothLEAppearanceSubcategories.

Retornos

O objeto de aparência LE Bluetooth que foi criado com base na categoria de aparência e na subcategoria.

Requisitos do Windows

Funcionalidades do aplicativo
bluetooth

Aplica-se a