PostalAddressUse Enumeration
Identifies how an address can be used

Namespace: MARC.Everest.DataTypes
Assembly: MARC.Everest.Phone (in MARC.Everest.Phone.dll) Version: 1.5.0.0 (1.5.0)

Syntax

C#

public enum PostalAddressUse

Members

  Member nameValueDescription
HomeAddress0 A communication address at a home, attempted contacts for business purposes
PrimaryHome1 The primary home to reach a person after business hours
VacationHome2 A vacation home
WorkPlace3 An office address
Direct4 Indicates a work place address or a telecommunication address
Public5 Indicates a work place address or telecommunication address that is a standard
BadAddress6 A flag indicating that the address is bad
PhysicalVisit7 Used primarily to visit an address
PostalAddress8 Used to send mail
TemporaryAddress9 A temporary address may be good for visit or mailing
Alphabetic10 Alphabetic transcription
Ideographic11 Address as understood by the datacentre
Syllabic12 Syllabic translation of the address
Soundex13 An address spelled according to the soundex algorithm
Phonetic14 The address as understood by the datacentre

Examples

Creating multiple addresses for one person

LIST<AD> personAddresses = new LIST<AD>(3);
///  Add a home address
personAddresses.Add(
    new AD(PostalAddressUse.HomeAddress, 
    new ADXP[] { 
            new ADXP("123 Main Street", AddressPartType.StreetAddressLine),
            new ADXP("Hamilton", AddressPartType.City),
        new ADXP("Ontario", AddressPartType.State)
        }
    )
); 
///  Add a Business Address
personAddresses.Add(
new AD(PostalAddressUse.WorkPlace, 
        new ADXP[]{
        new ADXP("123 Fake Street", AddressPartType.StreetAddressLine),
            new ADXP("Hamilton", AddressPartType.City),
            new ADXP("Ontario", AddressPartType.State)
        }                   
    )
); 
///  Add a Direct Buisness Phone #
personAddresses.Add(
    new AD(PostalAddressUse.Direct,
        new ADXP[]{
            new ADXP("555-867-5309")
    }
    )
);
foreach (AD address in personAddresses)
{
    Console.WriteLine(address.ToString());
}
Console.ReadKey();

Version Information

Everest Compact Framework

Supported in: 1.2 Compact

Everest Framework

Supported in: 1.2, 1.0

See Also