Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

In This Article

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.v24.2.dll

NuGet Package: DevExpress.Wpf.Map

#Declaration

public void Search(
    string keyword,
    string cultureCode,
    string[] countryCodes,
    SearchBoundingBox boundingBox,
    int limit
)

#Parameters

Name Type Description
keyword String

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