Back to Devexpress

AddressBase.FormattedAddress Property

windowsforms-devexpress-dot-xtramap-dot-addressbase.md

latest3.8 KB
Original Source

AddressBase.FormattedAddress Property

Gets or sets the complete address.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
[DefaultValue(null)]
public string FormattedAddress { get; set; }
vb
<DefaultValue(Nothing)>
Public Property FormattedAddress As String

Property Value

TypeDefaultDescription
Stringnull

The complete address.

|

Remarks

This address may not include the country or region.

Example : 1 Microsoft Way, Redmond, WA 98052-8300

The following code snippets (auto-collected from DevExpress Examples) contain references to the FormattedAddress 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#L85

csharp
resultList.Append(String.Format(locations.EntityType + "\r\n"));
resultList.Append(String.Format(locations.Address.FormattedAddress + "\r\n"));
resultList.Append(String.Format("Coordinates: {0}\r\n", locations.Location));

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

csharp
resultList.Append(String.Format(locations.EntityType + "\r\n"));
resultList.Append(String.Format(locations.Address.FormattedAddress + "\r\n"));
resultList.Append(String.Format("Coordinates: {0}\r\n", locations.Location));

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

vb
resultList.Append(String.Format(locations.EntityType & Microsoft.VisualBasic.Constants.vbCrLf))
resultList.Append(String.Format(locations.Address.FormattedAddress & Microsoft.VisualBasic.Constants.vbCrLf))
resultList.Append(String.Format("Coordinates: {0}" & Microsoft.VisualBasic.Constants.vbCrLf, locations.Location))

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

vb
resultList.Append([String].Format(locations.EntityType & Microsoft.VisualBasic.Constants.vbCrLf))
resultList.Append([String].Format(locations.Address.FormattedAddress & Microsoft.VisualBasic.Constants.vbCrLf))
resultList.Append([String].Format("Coordinates: {0}" & Microsoft.VisualBasic.Constants.vbCrLf, locations.Location))

See Also

AddressBase Class

AddressBase Members

DevExpress.XtraMap Namespace