Class CivicAddress
Class that implements the a civicAddress XML schema. See RFC 4119, RFC 5139 and RFC 6848 for the definition of the civicAddress XML schema.
Inherited Members
Namespace: Pidf
Assembly: Ng911Lib.dll
Syntax
[Serializable]
public class CivicAddress
Constructors
| Edit this page View SourceCivicAddress()
Default constructor. Initializes all elements to null;
Declaration
public CivicAddress()
Fields
| Edit this page View SourceA1
The state or national subdivision.
Declaration
public string A1
Field Value
Type | Description |
---|---|
string |
A2
The county name.
Declaration
public string A2
Field Value
Type | Description |
---|---|
string |
A3
The city or township.
Declaration
public string A3
Field Value
Type | Description |
---|---|
string |
A4
City division, borough, city district or ward.
Declaration
public string A4
Field Value
Type | Description |
---|---|
string |
A5
Neighborhood or block.
Declaration
public string A5
Field Value
Type | Description |
---|---|
string |
A6
Street name. No longer used, use RD.
Declaration
public string A6
Field Value
Type | Description |
---|---|
string |
ADDCODE
Additional code. (RFC 5139)
Declaration
public string ADDCODE
Field Value
Type | Description |
---|---|
string |
BLD
Building name or structure name. (RFC 5139)
Declaration
public string BLD
Field Value
Type | Description |
---|---|
string |
FLR
Floor number.
Declaration
public string FLR
Field Value
Type | Description |
---|---|
string |
HNO
House number, numeric part only.
Declaration
public string HNO
Field Value
Type | Description |
---|---|
string |
HNP
House Number Prefix -- See Section 5.4 of RFC 6848
Declaration
public string HNP
Field Value
Type | Description |
---|---|
string |
HNS
House number suffix. Ex. "A" or "1/2".
Declaration
public string HNS
Field Value
Type | Description |
---|---|
string |
LMK
Landmark or vanity address.
Declaration
public string LMK
Field Value
Type | Description |
---|---|
string |
LOC
Additional location information. Ex. "Room 543".
Declaration
public string LOC
Field Value
Type | Description |
---|---|
string |
MP
Mile Post -- See Section 5.2 of RFC 6848
Declaration
public string MP
Field Value
Type | Description |
---|---|
string |
NAM
Name (residence, business or office occupant).
Declaration
public string NAM
Field Value
Type | Description |
---|---|
string |
PC
Postal or zip code.
Declaration
public string PC
Field Value
Type | Description |
---|---|
string |
PCN
Postal community name. (RFC 5139)
Declaration
public string PCN
Field Value
Type | Description |
---|---|
string |
PLC
Place-type, Ex. office. (RFC 5139)
Declaration
public string PLC
Field Value
Type | Description |
---|---|
string |
PN
Pole Number -- See Section 5.1 of RFC 6848
Declaration
public string PN
Field Value
Type | Description |
---|---|
string |
POBOX
Post office box number. (RFC 5139)
Declaration
public string POBOX
Field Value
Type | Description |
---|---|
string |
POD
Trailing street suffix.
Declaration
public string POD
Field Value
Type | Description |
---|---|
string |
POM
Road post-modifier. (RFC 5139) Ex. "Extended".
Declaration
public string POM
Field Value
Type | Description |
---|---|
string |
PRD
Leading street direction, such as N, W
Declaration
public string PRD
Field Value
Type | Description |
---|---|
string |
PRM
Road pre-modifier such as "Old". (RFC 5139)
Declaration
public string PRM
Field Value
Type | Description |
---|---|
string |
RD
Primary road or street. (RFC 5139)
Declaration
public string RD
Field Value
Type | Description |
---|---|
string |
RDBR
Road branch. (RFC 5139).
Declaration
public string RDBR
Field Value
Type | Description |
---|---|
string |
RDSEC
Road section (RFC 5139).
Declaration
public string RDSEC
Field Value
Type | Description |
---|---|
string |
RDSUBBR
Road sub-branch (RFC 5139).
Declaration
public string RDSUBBR
Field Value
Type | Description |
---|---|
string |
ROOM
Room number. (RFC 5139)
Declaration
public string ROOM
Field Value
Type | Description |
---|---|
string |
SEAT
Seat (desk, cubicle, or workstation) (RFC 5139)
Declaration
public string SEAT
Field Value
Type | Description |
---|---|
string |
STP
Street Type Prefix -- See Section 5.3 of RFC 6848
Declaration
public string STP
Field Value
Type | Description |
---|---|
string |
STS
Street suffix such as "Avenue", "Street".
Declaration
public string STS
Field Value
Type | Description |
---|---|
string |
UNIT
Unit, appartment or suite number. (RFC 5139)
Declaration
public string UNIT
Field Value
Type | Description |
---|---|
string |
country
The country identified by a two letter code. Example "US".
Declaration
public string country
Field Value
Type | Description |
---|---|
string |
Properties
| Edit this page View SourceAny
Stores any unknown extensions to the CivicAddress schema
Declaration
public XmlElement[] Any { get; set; }
Property Value
Type | Description |
---|---|
XmlElement[] |
Methods
| Edit this page View SourceBuildFormattedStreetAddress()
Builds a string that can be used for a human readable form of this civic address object.
Declaration
public string BuildFormattedStreetAddress()
Returns
Type | Description |
---|---|
string | Returns a human readable street address. |