Compartilhar via


MapsSearchClient.GetPointOfInterestCategoryTree Método

Definição

Obter a API de Árvore de Categoria poi. A API de Categoria poi fornece uma lista completa de categorias e subcategorias de Pontos de Interesse (POI) com suporte, juntamente com suas traduções e sinônimos. O conteúdo retornado pode ser usado para fornecer resultados mais significativos por meio de outras APIs do Serviço de Pesquisa, como Obter POI de Pesquisa.

public virtual Azure.Response<Azure.Maps.Search.Models.PointOfInterestCategoryTreeResult> GetPointOfInterestCategoryTree (Azure.Maps.Search.SearchLanguage? language = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPointOfInterestCategoryTree : Nullable<Azure.Maps.Search.SearchLanguage> * System.Threading.CancellationToken -> Azure.Response<Azure.Maps.Search.Models.PointOfInterestCategoryTreeResult>
override this.GetPointOfInterestCategoryTree : Nullable<Azure.Maps.Search.SearchLanguage> * System.Threading.CancellationToken -> Azure.Response<Azure.Maps.Search.Models.PointOfInterestCategoryTreeResult>
Public Overridable Function GetPointOfInterestCategoryTree (Optional language As Nullable(Of SearchLanguage) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of PointOfInterestCategoryTreeResult)

Parâmetros

language
Nullable<SearchLanguage>

Idioma no qual os resultados da pesquisa devem ser retornados. Deve ser uma das marcas de linguagem IETF com suporte, exceto NGT e NGT-Latn. A marca de idioma não diferencia maiúsculas de minúsculas. Quando os dados no idioma especificado não estão disponíveis para um campo específico, o idioma padrão é usado (inglês). Consulte Idiomas com suporte para obter detalhes.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a