BluetoothLEAppearance.FromParts(UInt16, UInt16) メソッド

定義

Bluetooth LE デバイスの Category (BluetoothLEAppearanceCategories を参照) とサブカテゴリ (BluetoothLEAppearanceSubcategories を参照) の値を指定して、BluetoothLEAppearance オブジェクトを作成します。

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

Bluetooth LE の外観カテゴリ。 「BluetoothLEAppearanceCategories」を参照してください。

appearanceSubCategory
UInt16

unsigned short

uint16_t

Bluetooth LE の外観サブカテゴリ。 「BluetoothLEAppearanceSubcategories」を参照してください。

戻り値

外観カテゴリとサブカテゴリから作成された Bluetooth LE の外観オブジェクト。

Windows の要件

アプリの機能
bluetooth

適用対象