Skip to main content

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

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

Namespace: DevExpress.Xpf.Map

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

Declaration

public SearchRequestResult(
    RequestResultCode statusCode,
    string faultReason,
    List<LocationInformation> searchResults,
    LocationInformation searchRegion,
    List<LocationInformation> alternateSearchRegions,
    int estimatedMatches,
    string keyword,
    string location
)
Public Sub New(
    statusCode As RequestResultCode,
    faultReason As String,
    searchResults As List(Of LocationInformation),
    searchRegion As LocationInformation,
    alternateSearchRegions As List(Of LocationInformation),
    estimatedMatches As Integer,
    keyword As String,
    location As String
)

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 objects 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