MapsSearchClient.GetPointOfInterestCategoryTree Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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
Azure SDK for .NET