Class adr
Specifies the components of the delivery address for the vCard object. See Section 6.3.1 of RFC 6350.
Inherited Members
Namespace: AdditionalData
Assembly: Ng911Lib.dll
Syntax
[Serializable]
public class adr
Constructors
| Edit this page View Sourceadr()
Default constructor. Used for de-serialization using XmlSerializer or to create a new object of this type.
Declaration
public adr()
adr(XmlNode)
Constructor used when programmatically parsing a XML document.
Declaration
public adr(XmlNode Root)
Parameters
Type | Name | Description |
---|---|---|
XmlNode | Root | Root node containing the XML for this type |
Fields
| Edit this page View Sourcecode
Postal or zip code.
Declaration
public string[] code
Field Value
Type | Description |
---|---|
string[] |
See Also
| Edit this page View Sourcecountry
Country
Declaration
public string[] country
Field Value
Type | Description |
---|---|
string[] |
See Also
| Edit this page View Sourceext
Extended address (e.g., apartment or suite number)
Declaration
public string[] ext
Field Value
Type | Description |
---|---|
string[] |
See Also
| Edit this page View Sourcelocality
Locality or city name
Declaration
public string[] locality
Field Value
Type | Description |
---|---|
string[] |
See Also
| Edit this page View Sourceparameters
Parameters for the address
Declaration
public adrParameters parameters
Field Value
Type | Description |
---|---|
adrParameters |
pobox
Post office box(s)
Declaration
public string[] pobox
Field Value
Type | Description |
---|---|
string[] |
See Also
| Edit this page View Sourceregion
Region, state or province
Declaration
public string[] region
Field Value
Type | Description |
---|---|
string[] |
See Also
| Edit this page View Sourcestreet
Full street address. Includes prefixes, street number, street name a suffixes.
Declaration
public string[] street
Field Value
Type | Description |
---|---|
string[] |
See Also
Properties
| Edit this page View SourceAddressType
Gets or sets the first type field value for the address. Returns null if not set. The setter creates the "type" array if it is null.
Declaration
public typeText AddressType { get; set; }
Property Value
Type | Description |
---|---|
typeText |
City
Gets or sets the first City (locality) field. Returns null if not set. The setter creates the "locality" array if it is null.
Declaration
public string City { get; set; }
Property Value
Type | Description |
---|---|
string |
Country
Gets or sets the first country field. Returns null if not set. The setter creates the "country" array if it is null.
Declaration
public string Country { get; set; }
Property Value
Type | Description |
---|---|
string |
Ext
Gets or sets the first ext (extended address information) field. This field can contain extended address information such as suite numbers, etc. Returns null if not set. The setter creates the "ext" array if it is null.
Declaration
public string Ext { get; set; }
Property Value
Type | Description |
---|---|
string |
PoBox
Gets or sets the first pobox field. Returns null if not set. The setter creates the "pobox" array if it is null.
Declaration
public string PoBox { get; set; }
Property Value
Type | Description |
---|---|
string |
Pref
Gets or sets the pref (preference) value of the adr object. The preference is an integer greater than 1 stored as a string. A lower preference value indicates a higher preference. See Section 5.3 of RFC 6350. Returns "1" if not set.
Declaration
public string Pref { get; set; }
Property Value
Type | Description |
---|---|
string |
State
Gets or sets the first State (region) field. Returns null if not set. The setter creates the "region" array if it is null.
Declaration
public string State { get; set; }
Property Value
Type | Description |
---|---|
string |
Street
Gets or sets the first street field. The street field is the full street address that includes house number, street name and any prefixes and suffixes. Returns null if not set. The setter creates the "street" array if it is null.
Declaration
public string Street { get; set; }
Property Value
Type | Description |
---|---|
string |
ZipCode
Gets or sets the first ZipCode (code) field. Returns null if not set. The setter creates the "code" array if it is null.
Declaration
public string ZipCode { get; set; }
Property Value
Type | Description |
---|---|
string |