GattDeviceService.GetAllIncludedServices 메서드

정의

이 GattDeviceService instance 속하는 모든 포함된 서비스의 컬렉션을 가져옵니다.

중요

GetAllCharacteristics API는 더 이상 사용되지 않으며 이후 버전의 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 instance 속하는 포함된 모든 서비스의 컬렉션입니다.

특성

Windows 요구 사항

앱 기능
bluetooth

적용 대상