Udostępnij za pośrednictwem


MapsSearchModelFactory.GeocodingResponse Method

Definition

Initializes a new instance of GeocodingResponse.

public static Azure.Maps.Search.Models.GeocodingResponse GeocodingResponse (Azure.Maps.Search.Models.FeatureCollectionEnum? type = default, System.Collections.Generic.IEnumerable<Azure.Maps.Search.Models.FeaturesItem> features = default, string nextLink = default);
static member GeocodingResponse : Nullable<Azure.Maps.Search.Models.FeatureCollectionEnum> * seq<Azure.Maps.Search.Models.FeaturesItem> * string -> Azure.Maps.Search.Models.GeocodingResponse
Public Shared Function GeocodingResponse (Optional type As Nullable(Of FeatureCollectionEnum) = Nothing, Optional features As IEnumerable(Of FeaturesItem) = Nothing, Optional nextLink As String = Nothing) As GeocodingResponse

Parameters

type
Nullable<FeatureCollectionEnum>

The type of a FeatureCollection object must be FeatureCollection.

nextLink
String

The is the link to the next page of the features returned. If it's the last page, no this field.

Returns

A new GeocodingResponse instance for mocking.

Applies to