BluetoothLEAppearance.FromParts(UInt16, UInt16) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
藉由提供 Category (的BluetoothLEAppearanceCategories) 和 Subcategories (來建立BluetoothLEAppearance物件,請參閱BluetoothLEAppearanceSubcategories) 藍牙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
參數
- appearanceCategory
-
UInt16
unsigned short
uint16_t
藍牙 LE 外觀類別。 請參閱 BluetoothLEAppearanceCategories。
- appearanceSubCategory
-
UInt16
unsigned short
uint16_t
藍牙 LE 外觀子類別。 請參閱 BluetoothLEAppearanceSubcategories。
傳回
從外觀類別和子類別建立的藍牙 LE 外觀物件。
Windows 需求
應用程式功能 |
bluetooth
|