GattDeviceService.GetAllIncludedServices Метод

Определение

Возвращает коллекцию всех включенных служб, принадлежащих этому экземпляру GattDeviceService.

Важно!

API GetAllCharacteristics не рекомендуется использовать и может быть недоступен в будущих версиях Windows. Вместо этого используйте 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)

Возвращаемое значение

Коллекция всех включенных служб, принадлежащих этому экземпляру GattDeviceService.

Атрибуты

Требования к Windows

Возможности приложения
bluetooth

Применяется к