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(unsigned short appearanceCategory, unsigned short 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

The Bluetooth LE appearance category. See BluetoothLEAppearanceCategories.

appearanceSubCategory
UInt16

The Bluetooth LE appearance subcategory. See BluetoothLEAppearanceSubcategories.

Returns

BluetoothLEAppearance

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

Windows 10 requirements

App capabilities
bluetooth

Applies to