Skip to main content

SearchRequestResult(RequestResultCode, String, List<LocationInformation>, LocationInformation, List<LocationInformation>, Int32, String, String) Constructor

OBSOLETE

Due to changing Bing SOAP API to REST API, several options are not supported now. Please refer to the https://msdn.microsoft.com/en-us/library/cc980922.aspx topic to learn more.

Initializes a new instance of the SearchRequestResult class with the specified parameters.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v23.2.dll

NuGet Package: DevExpress.Wpf.Map

Declaration

[Browsable(false)]
[Obsolete("Due to changing Bing SOAP API to REST API, several options are not supported now. Please refer to the https://msdn.microsoft.com/en-us/library/cc980922.aspx topic to learn more.")]
[PreferableMember("SearchRequestResult", "SearchRequestResult", "")]
public SearchRequestResult(
    RequestResultCode statusCode,
    string faultReason,
    List<LocationInformation> searchResults,
    LocationInformation searchRegion,
    List<LocationInformation> alternateSearchRegions,
    int estimatedMatches,
    string keyword,
    string location
)

Parameters

Name Type Description
statusCode RequestResultCode

A RequestResultCode object specifying the status code. This value is assigned to the RequestResultBase.ResultCode property.

faultReason String

A String specifying the cause of the fault. This value is assigned to the RequestResultBase.FaultReason property.

searchResults List<LocationInformation>

A list of LocationInformation objects specifying search results. This value is assigned to the SearchRequestResult.SearchResults property.

searchRegion LocationInformation

A LocationInformation object specifying the search region. This value is assigned to the SearchRequestResult.SearchRegion property.

alternateSearchRegions List<LocationInformation>

A list of LocationInformation objects specifying alternate search regions. This value is assigned to the SearchRequestResult.AlternateSearchRegions property.

estimatedMatches Int32

An integer value specifying the number of estimated matches. This value is assigned to the SearchRequestResult.EstimatedMatches property.

keyword String

A String specifying the keyword. This value is assigned to the SearchRequestResult.Keyword property.

location String

A String specifying the location. This value is assigned to the SearchRequestResult.Location property.

See Also