Class Address
Street and/or Postal address, in both formatted and structured forms. You only need to modify one of the two for the change to be registered.
Carrier object for Address.Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
public class Address : Carrier
Constructors
Address()
Default constructor
Declaration
public Address()
Properties
Formatted
Read-only formatted address multi-line string. Combines street and postal into one string. e.g.: <c>"Postboks 123,\nBrugata 123,\n1234 OSLO\n"</c> or <c>"Postbox 123,\nBridgelane 123,\nWest Tooting,\nEast Shire ES2 W31\n"</c>.
Declaration
public virtual string Formatted { get; set; }
Property Value
Type | Description |
---|---|
String |
LocalizedAddress
LocalizedFieldArray is a list of LocalizedFieldList objects. Used to store localized information such as formatted address data.
Declaration
public virtual LocalizedField[][] LocalizedAddress { get; set; }
Property Value
Type | Description |
---|---|
LocalizedField[][] |
Postal
Postal address (company postal, billing address). LocalizedAddress changes override this property, so you do not have to change both Localized and this.
Declaration
public virtual StructuredAddress Postal { get; set; }
Property Value
Type | Description |
---|---|
StructuredAddress |
Street
Street address (company street, person address, delivery address). LocalizedAddress changes override this property, so you do not have to change both Localized and this.
Declaration
public virtual StructuredAddress Street { get; set; }
Property Value
Type | Description |
---|---|
StructuredAddress |
Wgs84Latitude
Latitude (that's north/south), decimal degrees, relative to WGS 84 ellipsoid. SuperOffice ASA is at 59.91892. This value needs no further grid reference or other qualifying information.
Declaration
public virtual double Wgs84Latitude { get; set; }
Property Value
Type | Description |
---|---|
Double |
Wgs84Longitude
Longitude (that's East/west), decimal degrees, relative to WGS 84 ellipsoid. SuperOffice ASA is at 10.73159. This value needs no further grid reference or other qualifying information.
Declaration
public virtual double Wgs84Longitude { get; set; }
Property Value
Type | Description |
---|---|
Double |
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | The carrier contents. |
ToString(String)
Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.
Declaration
public string ToString(string prefix)
Parameters
Type | Name | Description |
---|---|---|
String | prefix | The line prefix (typically used for indenting) |
Returns
Type | Description |
---|---|
String | The carrier contents. |