GattCharacteristic.GetAllDescriptors GattCharacteristic.GetAllDescriptors GattCharacteristic.GetAllDescriptors GattCharacteristic.GetAllDescriptors GattCharacteristic.GetAllDescriptors Method

Definition

Gets the collection of all descriptors belonging to this GattCharacteristic instance.

Important

The GetAllDescriptors API is deprecated, and it may not be available in future versions of Windows. Instead, use GetDescriptorsAsync.

public : IVectorView<GattDescriptor> GetAllDescriptors()
IVectorView<GattDescriptor> GetAllDescriptors() const;
public IReadOnlyList<GattDescriptor> GetAllDescriptors()
Public Function GetAllDescriptors() As IReadOnlyList<GattDescriptor>(Of GattDescriptor)
var iVectorView = gattCharacteristic.getAllDescriptors();

Returns

IReadOnlyList<GattDescriptor> IReadOnlyList<GattDescriptor> IReadOnlyList<GattDescriptor>

The collection of all descriptors belonging to this GattCharacteristic instance.

Additional features and requirements

Capabilities
bluetooth