BluetoothLEAppearance.FromParts(UInt16, UInt16) Methode

Definition

Erstellt ein BluetoothLEAppearance-Objekt , indem Werte für Category (siehe BluetoothLEAppearanceCategories) und Subcategory (siehe BluetoothLEAppearanceSubcategories) des Bluetooth LE-Geräts bereitgestellt werden.

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

Parameter

appearanceCategory
UInt16

unsigned short

uint16_t

Die Kategorie "Bluetooth LE-Darstellung". Siehe BluetoothLEAppearanceCategories.

appearanceSubCategory
UInt16

unsigned short

uint16_t

Die Unterkategorie Bluetooth LE-Darstellung. Siehe BluetoothLEAppearanceSubcategories.

Gibt zurück

Das Bluetooth LE-Darstellungsobjekt, das aus der Darstellungskategorie und Unterkategorie erstellt wurde.

Windows-Anforderungen

App-Funktionen
bluetooth

Gilt für: