BluetoothLEAdvertisement.GetSectionsByType(Byte) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回与 BluetoothLEAdvertisement 中给定播发部分类型匹配的广告数据部分的列表。
public:
virtual IVectorView<BluetoothLEAdvertisementDataSection ^> ^ GetSectionsByType(byte type) = GetSectionsByType;
IVectorView<BluetoothLEAdvertisementDataSection> GetSectionsByType(byte const& type);
public IReadOnlyList<BluetoothLEAdvertisementDataSection> GetSectionsByType(byte type);
function getSectionsByType(type)
Public Function GetSectionsByType (type As Byte) As IReadOnlyList(Of BluetoothLEAdvertisementDataSection)
参数
- type
-
Byte
byte
播发部分类型
返回
与给定播发类型匹配的所有 BluetoothLEAdvertisementDataSection 的向量。 如果在有效负载中找不到此类部分,此方法将返回空列表。
Windows 要求
应用功能 |
bluetooth
|