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:
 virtual IVectorView<GattDescriptor ^> ^ GetAllDescriptors() = GetAllDescriptors;
IVectorView<GattDescriptor> GetAllDescriptors();
/// [Windows.Foundation.Metadata.Deprecated("Use GetDescriptorsAsync instead of GetAllDescriptors.  For more information, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
IVectorView<GattDescriptor> GetAllDescriptors();
public IReadOnlyList<GattDescriptor> GetAllDescriptors();
[Windows.Foundation.Metadata.Deprecated("Use GetDescriptorsAsync instead of GetAllDescriptors.  For more information, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public IReadOnlyList<GattDescriptor> GetAllDescriptors();
function getAllDescriptors()
Public Function GetAllDescriptors () As IReadOnlyList(Of GattDescriptor)

Returns

The collection of all descriptors belonging to this GattCharacteristic instance.

Attributes

Windows requirements

App capabilities
bluetooth

Applies to