Show / Hide Table of Contents

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.
Inheritance
object
Address
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.2.0.0")]
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
[DataMember]
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
[DataMember]
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
[DataMember]
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
[DataMember]
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
[DataMember]
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
[DataMember]
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.

© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top