Share via


GattDeviceService.GetAllIncludedServices Method

Definition

Gets the collection of all included services belonging to this GattDeviceService instance.

Important

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

public:
 virtual IVectorView<GattDeviceService ^> ^ GetAllIncludedServices() = GetAllIncludedServices;
IVectorView<GattDeviceService> GetAllIncludedServices();
/// [Windows.Foundation.Metadata.Deprecated("Use GetIncludedServicesAsync instead of GetAllIncludedServices.  For more information, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
IVectorView<GattDeviceService> GetAllIncludedServices();
public IReadOnlyList<GattDeviceService> GetAllIncludedServices();
[Windows.Foundation.Metadata.Deprecated("Use GetIncludedServicesAsync instead of GetAllIncludedServices.  For more information, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public IReadOnlyList<GattDeviceService> GetAllIncludedServices();
function getAllIncludedServices()
Public Function GetAllIncludedServices () As IReadOnlyList(Of GattDeviceService)

Returns

The collection of all included services belonging to this GattDeviceService instance.

Attributes

Windows requirements

App capabilities
bluetooth

Applies to