Back to Devexpress

OsmSearchDataProvider.Search(String, String, String[], SearchBoundingBox, Int32) Method

wpf-devexpress-dot-xpf-dot-map-dot-osmsearchdataprovider-dot-search-x28-system-dot-string-system-dot-string-system-dot-string-devexpress-dot-xpf-dot-map-dot-searchboundingbox-system-dot-int32-x29.md

latest2.5 KB
Original Source

OsmSearchDataProvider.Search(String, String, String[], SearchBoundingBox, Int32) Method

Searches for locations that best correspond to the specified keyword in the specified region in the accordance with local culture and country codes.

Namespace : DevExpress.Xpf.Map

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

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public void Search(
    string keyword,
    string cultureCode,
    string[] countryCodes,
    SearchBoundingBox boundingBox,
    int limit
)
vb
Public Sub Search(
    keyword As String,
    cultureCode As String,
    countryCodes As String(),
    boundingBox As SearchBoundingBox,
    limit As Integer
)

Parameters

NameTypeDescription
keywordString

A String containing information to search for on a map. This string can contain either geographical names or other information to look for.

| | cultureCode | String |

A String value containing the local culture.

| | countryCodes | String[] |

A String[] object containing country codes.

| | boundingBox | SearchBoundingBox |

A SearchBoundingBox object specifying the region to search for.

| | limit | Int32 |

A Int32 value specifying the maximum number of the search results.

|

See Also

OsmSearchDataProvider Class

OsmSearchDataProvider Members

DevExpress.Xpf.Map Namespace