BluetoothLEAdvertisement.GetSectionsByType(Byte) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Return a list of advertisement data sections that matches a given advertisement section type in a 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)
Parameters
- type
-
Byte
byte
The advertisement section type
Returns
A vector of all the BluetoothLEAdvertisementDataSection matching the given advertisement type. This method returns an empty list if no such sections are found in the payload.
Windows requirements
App capabilities |
bluetooth
|