Back to Devexpress

SearchCompletedEventArgs.RequestResult Property

wpf-devexpress-dot-xpf-dot-map-dot-searchcompletedeventargs.md

latest2.6 KB
Original Source

SearchCompletedEventArgs.RequestResult Property

Returns the result of the search request.

Namespace : DevExpress.Xpf.Map

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

NuGet Package : DevExpress.Wpf.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.

wpf-map-process-search-with-a-custom-search-panel/CS/MapControl_SearchPanel/MainWindow.xaml.cs#L33

csharp
SearchRequestResult requestResult = e.RequestResult;
sb.Append(String.Format("Result Code: {0}\n", requestResult.ResultCode));

wpf-map-process-search-with-a-custom-search-panel/VB/MapControl_SearchPanel/MainWindow.xaml.vb#L33

vb
Dim sb As StringBuilder = New StringBuilder()
Dim requestResult As SearchRequestResult = e.RequestResult
sb.Append(String.Format("Result Code: {0}" & Microsoft.VisualBasic.Constants.vbLf, requestResult.ResultCode))

See Also

SearchCompletedEventArgs Class

SearchCompletedEventArgs Members

DevExpress.Xpf.Map Namespace