GattDeviceService.GetIncludedServices(Guid) 메서드

정의

지정된 UUID로 식별되고 이 GattDeviceService instance 속하는 포함된 서비스의 벡터를 반환합니다.

중요

GetIncludedServices API는 더 이상 사용되지 않으며 이후 버전의 Windows에서는 사용할 수 없습니다. 대신 GetIncludedServicesForUuidAsync를 사용합니다.

public:
 virtual IVectorView<GattDeviceService ^> ^ GetIncludedServices(Platform::Guid serviceUuid) = GetIncludedServices;
IVectorView<GattDeviceService> GetIncludedServices(winrt::guid const& serviceUuid);
/// [Windows.Foundation.Metadata.Deprecated("Use GetIncludedServicesForUuidAsync instead of GetIncludedServices.  For more information, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
IVectorView<GattDeviceService> GetIncludedServices(winrt::guid const& serviceUuid);
public IReadOnlyList<GattDeviceService> GetIncludedServices(Guid serviceUuid);
[Windows.Foundation.Metadata.Deprecated("Use GetIncludedServicesForUuidAsync instead of GetIncludedServices.  For more information, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public IReadOnlyList<GattDeviceService> GetIncludedServices(Guid serviceUuid);
function getIncludedServices(serviceUuid)
Public Function GetIncludedServices (serviceUuid As Guid) As IReadOnlyList(Of GattDeviceService)

매개 변수

serviceUuid
Guid

Platform::Guid

winrt::guid

검색할 포함된 서비스에 대한 UUID입니다.

반환

UUID가 serviceUuid와 일치하는 포함된 서비스의 벡터입니다.

특성

Windows 요구 사항

앱 기능
bluetooth

적용 대상