GattCharacteristic.GetDescriptors(Guid) 메서드

정의

지정된 UUID로 식별되고 이 GattCharacteristic instance 속하는 설명자의 벡터를 반환합니다.

중요

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

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

매개 변수

descriptorUuid
Guid

Platform::Guid

winrt::guid

검색할 설명자에 대한 UUID입니다.

반환

UUID가 descriptorUuid와 일치하는 설명자의 벡터입니다.

특성

Windows 요구 사항

앱 기능
bluetooth

적용 대상