Show / Hide Table of Contents

Class StructuredAddress

Address with structured fields (Address1, City, Zip) - does not vary its layout by country, unliked the formatted address.

Carrier object for StructuredAddress.
Inheritance
object
StructuredAddress
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.1.0.0")]
public class StructuredAddress

Constructors

StructuredAddress()

Default constructor

Declaration
public StructuredAddress()

Properties

Address1

Address line 1

Declaration
[DataMember]
public virtual string Address1 { get; set; }
Property Value
Type Description
string

Address2

Address line 2

Declaration
[DataMember]
public virtual string Address2 { get; set; }
Property Value
Type Description
string

Address3

Address line 3

Declaration
[DataMember]
public virtual string Address3 { get; set; }
Property Value
Type Description
string

AtypeIdx

Bit mask, combines address type (EAddressType) and owner type (EOwnerType)

Declaration
[DataMember]
public virtual AddressType AtypeIdx { get; set; }
Property Value
Type Description
AddressType

City

City corresponding to zip code

Declaration
[DataMember]
public virtual string City { get; set; }
Property Value
Type Description
string

County

County (not country)

Declaration
[DataMember]
public virtual string County { get; set; }
Property Value
Type Description
string

Formatted

Read-only formatted address multi-line string. e.g.: <c>"Brugata 123,\n1234 OSLO\n"</c> or <c>"Bridgelane 123,\nWest Tooting,\nThe Shire ES2 W31\n"</c>.

Declaration
[DataMember]
public virtual string Formatted { get; set; }
Property Value
Type Description
string

State

State

Declaration
[DataMember]
public virtual string State { get; set; }
Property Value
Type Description
string

Zipcode

Zip code, alphanumeric

Declaration
[DataMember]
public virtual string Zipcode { get; set; }
Property Value
Type Description
string

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

Overrides
object.ToString()

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