Share via


BluetoothLEAppearance.FromRawValue(UInt16) 方法

定義

提供代表藍牙 LE 裝置之 Category 和 Subcategory 的原始整數值,以建立 BluetoothLEAppearance 物件。

public:
 static BluetoothLEAppearance ^ FromRawValue(unsigned short rawValue);
 static BluetoothLEAppearance FromRawValue(uint16_t const& rawValue);
public static BluetoothLEAppearance FromRawValue(ushort rawValue);
function fromRawValue(rawValue)
Public Shared Function FromRawValue (rawValue As UShort) As BluetoothLEAppearance

參數

rawValue
UInt16

unsigned short

uint16_t

代表外觀類別和子類別的原始整數值。

傳回

從外觀類別和子類別建立的藍牙 LE 外觀物件。

Windows 需求

應用程式功能
bluetooth

適用於