windowsforms-devexpress-dot-xtramap-dot-osmsearchdataprovider-4c88bc32.md
Gets or sets the total number of search results that can be obtained using an OsmSearchDataProvider.
Namespace : DevExpress.XtraMap
Assembly : DevExpress.XtraMap.v25.2.dll
NuGet Package : DevExpress.Win.Map
[DefaultValue(10)]
public int ResultsCount { get; set; }
<DefaultValue(10)>
Public Property ResultsCount As Integer
| Type | Default | Description |
|---|---|---|
| Int32 | 10 |
A Int32 value.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ResultsCount 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-use-openstreetmap-search-service/CS/OsmSearchSample/MainForm.cs#L21
OsmSearchDataProvider osmSearchDataProvider = new OsmSearchDataProvider();
osmSearchDataProvider.ResultsCount = 5;
infoLayer.DataProvider = osmSearchDataProvider;
See Also