GattCharacteristic.GetAllDescriptors 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.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for