Share via


BluetoothLEAppearance.FromParts(UInt16, UInt16) Metodo

Definizione

Crea un oggetto BluetoothLEAppearance specificando i valori per Category (vedere BluetoothLEAppearanceCategories) e Subcategory (vedere 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

Parametri

appearanceCategory
UInt16

unsigned short

uint16_t

Categoria di aspetto Bluetooth LE. Vedere BluetoothLEAppearanceCategories.

appearanceSubCategory
UInt16

unsigned short

uint16_t

Sottocategoria dell'aspetto Bluetooth LE. Vedere BluetoothLEAppearanceSubcategories.

Restituisce

Oggetto aspetto Bluetooth LE creato dalla categoria di aspetto e dalla sottocategoria.

Requisiti Windows

Funzionalità dell'app
bluetooth

Si applica a