Skip to main content

BingSearchDataProvider.Search(String, Int32) 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 starting from the specified index.

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,
    int startingIndex
)

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.

startingIndex Int32

An integer value specifying the index of the first result that should be returned. This means, for instance, if the startingIndex is 5, first 4 results will be skipped.

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