Back to Devexpress

GeocodeRequestResult.Locations Property

windowsforms-devexpress-dot-xtramap-dot-geocoderequestresult.md

latest3.4 KB
Original Source

GeocodeRequestResult.Locations Property

Returns all locations found for the specified geographical point.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
public LocationInformation[] Locations { get; }
vb
Public ReadOnly Property Locations As LocationInformation()

Property Value

TypeDescription
LocationInformation[]

An array of LocationInformation objects.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the Locations property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-map-get-geo-point-info-from-bing-geocode-service/CS/RequestLocationInformation/Form1.cs#L82

csharp
int resCounter = 1;
foreach(LocationInformation locations in e.Result.Locations) {
    resultList.Append(String.Format("Request Result {0}:\r\n", resCounter));

map-for-winforms-azure-geocoding/CS/AzureGeocoding/Form1.cs#L79

csharp
int resCounter = 1;
foreach (LocationInformation locations in e.Result.Locations) {
    resultList.Append(String.Format("Request Result {0}:\r\n", resCounter));

winforms-map-get-geo-point-info-from-bing-geocode-service/VB/RequestLocationInformation/Form1.vb#L88

vb
Dim resCounter As Integer = 1
For Each locations As LocationInformation In e.Result.Locations
    resultList.Append(String.Format("Request Result {0}:" & Microsoft.VisualBasic.Constants.vbCrLf, resCounter))

map-for-winforms-azure-geocoding/VB/AzureGeocoding/Form1.vb#L86

vb
Dim resCounter As Integer = 1
For Each locations As LocationInformation In e.Result.Locations
    resultList.Append([String].Format("Request Result {0}:" & Microsoft.VisualBasic.Constants.vbCrLf, resCounter))

See Also

GeocodeRequestResult Class

GeocodeRequestResult Members

DevExpress.XtraMap Namespace