BluetoothLEAppearance.FromParts(UInt16, UInt16) Metode

Definisi

Membuat objek BluetoothLEAppearance dengan menyediakan nilai untuk Kategori (lihat BluetoothLEAppearanceCategories) dan Subkategori (lihat BluetoothLEAppearanceSubcategories) dari perangkat LE Bluetooth.

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

Kategori penampilan LE Bluetooth. Lihat BluetoothLEAppearanceCategories.

appearanceSubCategory
UInt16

unsigned short

uint16_t

Subkataan tampilan LE Bluetooth. Lihat BluetoothLEAppearanceSubcategories.

Mengembalikan

Objek tampilan LE Bluetooth yang dibuat dari kategori penampilan dan subkategori.

Persyaratan Windows

Kemampuan aplikasi
bluetooth

Berlaku untuk