Back to Devexpress

SearchCompletedEventArgs.RequestResult Property

windowsforms-devexpress-dot-xtramap-dot-searchcompletedeventargs.md

latest2.8 KB
Original Source

SearchCompletedEventArgs.RequestResult Property

Returns the result of the search request.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
public SearchRequestResult RequestResult { get; }
vb
Public ReadOnly Property RequestResult As SearchRequestResult

Property Value

TypeDescription
SearchRequestResult

A SearchRequestResult object.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RequestResult property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-map-execute-the-search-operation-for-multiple-locations/CS/GetSearchLocationAdditionalInfo/Form1.cs#L46

csharp
private void searchDataProvider_SearchCompleted(object sender, BingSearchCompletedEventArgs e) {
    SearchRequestResult result = e.RequestResult;
    if (result.ResultCode == RequestResultCode.Success) {

winforms-map-execute-the-search-operation-for-multiple-locations/VB/GetSearchLocationAdditionalInfo/Form1.vb#L46

vb
Private Sub searchDataProvider_SearchCompleted(ByVal sender As Object, ByVal e As BingSearchCompletedEventArgs)
    Dim result As SearchRequestResult = e.RequestResult
    If result.ResultCode = RequestResultCode.Success Then

See Also

SearchCompletedEventArgs Class

SearchCompletedEventArgs Members

DevExpress.XtraMap Namespace