BluetoothLEAppearance.FromParts(UInt16, UInt16) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
通过提供 Category 的值创建 BluetoothLEAppearance 对象, (请参阅 BluetoothLEAppearanceCategories) 和 Subcategory (请参阅蓝牙 LE 设备的 BluetoothLEAppearanceSubcategories) 。
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
|