QueryContext.AskUserForLocation Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a Boolean value that indicates whether Bing requires the user's location to provide accurate results. If you specified the user's location by using the X-MSEdge-ClientIP and X-Search-Location headers, you can ignore this field. For location aware queries, such as "today's weather" or "restaurants near me" that need the user's location to provide accurate results, this field is set to true. For location aware queries that include the location (for example, "Seattle weather"), this field is set to false. This field is also set to false for queries that are not location aware, such as "best sellers".
[Newtonsoft.Json.JsonProperty(PropertyName="askUserForLocation")]
public bool? AskUserForLocation { get; }
[<Newtonsoft.Json.JsonProperty(PropertyName="askUserForLocation")>]
member this.AskUserForLocation : Nullable<bool>
Public ReadOnly Property AskUserForLocation As Nullable(Of Boolean)
Property Value
- Attributes
-
Newtonsoft.Json.JsonPropertyAttribute