Partilhar via


MapsSearchClient.SearchNearbyPointOfInterestAsync Método

Definição

API de pesquisa próxima. Se você tiver um caso de uso para recuperar apenas os resultados da POI em um local específico, o método de pesquisa próximo poderá ser a escolha certa. Esse ponto de extremidade retornará apenas os resultados da POI e não usará um parâmetro de consulta de pesquisa.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Maps.Search.Models.SearchAddressResult>> SearchNearbyPointOfInterestAsync (Azure.Maps.Search.SearchNearbyPointOfInterestOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member SearchNearbyPointOfInterestAsync : Azure.Maps.Search.SearchNearbyPointOfInterestOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Maps.Search.Models.SearchAddressResult>>
override this.SearchNearbyPointOfInterestAsync : Azure.Maps.Search.SearchNearbyPointOfInterestOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Maps.Search.Models.SearchAddressResult>>
Public Overridable Function SearchNearbyPointOfInterestAsync (Optional options As SearchNearbyPointOfInterestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SearchAddressResult))

Parâmetros

options
SearchNearbyPointOfInterestOptions

opções adicionais

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Comentários

Pesquisa nas Proximidades

Aplica-se a