Back to Devexpress

AzureSearchDataProvider.Search(AzureAddress, GeoPoint, SearchBoundingBox, Int32) Method

wpf-devexpress-dot-xpf-dot-map-dot-azuresearchdataprovider-dot-search-x28-devexpress-dot-xpf-dot-map-dot-azureaddress-devexpress-dot-xpf-dot-map-dot-geopoint-devexpress-dot-xpf-dot-map-dot-searchboundingbox-system-dot-int32-x29.md

latest2.1 KB
Original Source

AzureSearchDataProvider.Search(AzureAddress, GeoPoint, SearchBoundingBox, Int32) Method

Searches for locations that correspond to the specified address around the specified geographical point in the defined region.

Namespace : DevExpress.Xpf.Map

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

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public void Search(
    AzureAddress address,
    GeoPoint searchAnchorPoint,
    SearchBoundingBox boundingBox,
    int maxResults = 5
)
vb
Public Sub Search(
    address As AzureAddress,
    searchAnchorPoint As GeoPoint,
    boundingBox As SearchBoundingBox,
    maxResults As Integer = 5
)

Parameters

NameTypeDescription
addressAzureAddress

The required address.

| | searchAnchorPoint | GeoPoint |

The geographical point that identifies the search area.

| | boundingBox | SearchBoundingBox |

A SearchBoundingBox object that specifies the bounding region to be searched.

|

Optional Parameters

NameTypeDefaultDescription
maxResultsInt325

The number of results that can be obtained by a search request.

|

See Also

AzureSearchDataProvider Class

AzureSearchDataProvider Members

DevExpress.Xpf.Map Namespace