Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GeocodeRequestOptions class

GeocodeRequestOptions class

Bing

Defines geocode request options.

Constructor

Definition Description

GeocodeRequestOptions(string queryString)

Initializes a new instance of the GeocodeRequestOptions class with the specified query string.

GeocodeRequestOptions(string queryString, bool includeNeighborhood, bool includeQueryParse, uint maxResults)

Initializes a new instance of the GeocodeRequestOptions class with the specified query string, neighborhood and query parse flags, and the maximum number of results to return.

GeocodeRequestOptions(string queryString, bool includeNeighborhood, bool includeQueryParse, uint maxResults, LocationRect bounds)

Initializes a new instance of the GeocodeRequestOptions class with the specified query string, neighborhood and query parse flags, maximum number of results to return, and search bounding box.

Public Properties

Name Type Description

Bounds

LocationRect

Gets or sets the location rectangle that defines the area to search for a location match.

IncludeNeighborhood

bool

Gets or sets a bool indicating whether to include neighborhood in the response, if it is available. The default value is false.

IncludeQueryParse

bool

Gets or sets a bool indicating whether to include information about how the QueryString was parsed. The default value is false.

MaxResults

uint

Gets or sets the maximum number of results to return. The valid range is between 1 and 20. The default value is 5.

QueryString

string

Gets or sets the query string to geocode.

Show:
© 2015 Microsoft