Share via


BluetoothLEAppearance.FromParts(UInt16, UInt16) Method

Definition

Creates a BluetoothLEAppearance object by supplying values for Category (see BluetoothLEAppearanceCategories) and Subcategory (see BluetoothLEAppearanceSubcategories) of the Bluetooth LE device.

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

Parameters

appearanceCategory
UInt16

unsigned short

uint16_t

The Bluetooth LE appearance category. See BluetoothLEAppearanceCategories.

appearanceSubCategory
UInt16

unsigned short

uint16_t

The Bluetooth LE appearance subcategory. See BluetoothLEAppearanceSubcategories.

Returns

The Bluetooth LE appearance object that was created from the appearance category and subcategory.

Windows requirements

App capabilities
bluetooth

Applies to