Skip to main content

BingSearchDataProvider.Search(String, String) Method

OBSOLETE

Due to changing Bing SOAP API to REST API, several options are not supported now. Please refer to the https://msdn.microsoft.com/en-us/library/cc980922.aspx topic to learn more.

Searches for locations that best correspond to the specified keywords near the specified location.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v24.1.dll

NuGet Package: DevExpress.Wpf.Map

Declaration

[Obsolete("Due to changing Bing SOAP API to REST API, several options are not supported now. Please refer to the https://msdn.microsoft.com/en-us/library/cc980922.aspx topic to learn more.")]
[PreferableMember("BingSearchDataProvider", "Search", "")]
public void Search(
    string keyword,
    string location
)

Parameters

Name Type Description
keyword String

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

location String

A String specifying the location near which it is necessary to search for the specified keyword.

Example

This example shows how to use the BingSearchDataProvider.Search method.

View Example

Private Sub Search_Click(ByVal sender As Object, ByVal e As RoutedEventArgs)
    searchDataProvider.Search(teKeywords.Text)
End Sub
See Also