Back to Devexpress

OsmSearchDataProvider.ResultsCount Property

windowsforms-devexpress-dot-xtramap-dot-osmsearchdataprovider-4c88bc32.md

latest2.1 KB
Original Source

OsmSearchDataProvider.ResultsCount Property

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

Declaration

csharp
[DefaultValue(10)]
public int ResultsCount { get; set; }
vb
<DefaultValue(10)>
Public Property ResultsCount As Integer

Property Value

TypeDefaultDescription
Int3210

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

csharp
OsmSearchDataProvider osmSearchDataProvider = new OsmSearchDataProvider();
osmSearchDataProvider.ResultsCount = 5;
infoLayer.DataProvider = osmSearchDataProvider;

See Also

OsmSearchDataProvider Class

OsmSearchDataProvider Members

DevExpress.XtraMap Namespace