BluetoothClassOfDevice.FromParts 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public:
static BluetoothClassOfDevice ^ FromParts(BluetoothMajorClass majorClass, BluetoothMinorClass minorClass, BluetoothServiceCapabilities serviceCapabilities);
static BluetoothClassOfDevice FromParts(BluetoothMajorClass const& majorClass, BluetoothMinorClass const& minorClass, BluetoothServiceCapabilities const& serviceCapabilities);
public static BluetoothClassOfDevice FromParts(BluetoothMajorClass majorClass, BluetoothMinorClass minorClass, BluetoothServiceCapabilities serviceCapabilities);
function fromParts(majorClass, minorClass, serviceCapabilities)
Public Shared Function FromParts (majorClass As BluetoothMajorClass, minorClass As BluetoothMinorClass, serviceCapabilities As BluetoothServiceCapabilities) As BluetoothClassOfDevice
參數
- majorClass
- BluetoothMajorClass
其中一個列舉值,指定裝置的主要函式。
- minorClass
- BluetoothMinorClass
其中一個列舉值,指定要使用的次要類別值。
- serviceCapabilities
- BluetoothServiceCapabilities
其中一個列舉值,指定裝置支援的服務。
傳回
BluetoothClassOfDevice 物件。
Windows 需求
應用程式功能 |
bluetooth
|