Address Class |
Applicable for: 7.0
Extends the base AddressStructure class with properties specific to the applicable GEDCOM standards.The Address type exposes the following members.
| Name | Description | |
|---|---|---|
| Addr1 |
Gets or sets the first line of the address used for indexing.
(Inherited from AddressStructure) | |
| Addr2 |
Gets or sets the second line of the address used for indexing.
(Inherited from AddressStructure) | |
| Addr3 | Gets or sets the third line of the address used for indexing. | |
| AddressLine | Gets or sets a string value typically used to define a mailing address of an IndividualRecord. When it is used subordinate to an EventDetailStructure it is the address of the place where the event took place. The address lines usually contain the addressee’s name and other street and city information so that it forms an address that meets mailing requirements. | |
| City |
Gets or sets the name of the city used in the address. Isolated for sorting or indexing.
(Inherited from AddressStructure) | |
| Country |
Gets or sets the name of the country that pertains to the associated address. Isolated by some systems for sorting or indexing.Used in most cases to facilitate automatic sorting of mail.
(Inherited from AddressStructure) | |
| CustomTags |
Gets the collection of сгыещь tags encountered in this context.
(Inherited from Context) | |
| Emails | Gets or sets a list of electronic address that can be used for contact such as an email address. | |
| Faxes | Gets or sets a list of FAX telephone number appropriate for sending data facsimiles. | |
| Phones | Gets or sets a list of phone number. | |
| Post |
Gets or sets the ZIP or postal code used by the various localities in handling of mail. Isolated for sorting or indexing.
(Inherited from AddressStructure) | |
| State |
Gets or sets the name of the state used in the address. Isolated for sorting or indexing.
(Inherited from AddressStructure) | |
| UnknownTags |
Gets the collection of unknown tags encountered in this context.
(Inherited from Context) | |
| WebSites | Gets or sets a list of the world wide web page address. |
| Name | Description | |
|---|---|---|
| ContextClosed |
Called when the context is closed. The default implementation does nothing.
(Inherited from Context) | |
| ContextOpened |
Called when a context is opened. The default implementation does nothing.
(Inherited from Context) | |
| Deserialize |
Read data from the parser and deserialize it into the Gedcom.Net SDK class library.
(Inherited from Context) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| GetValueT |
Hets the value and main tags of the specified propName.
(Inherited from Context) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| PreporcessTag |
Called before tag processing begins. The default implementation does nothing.
(Inherited from Context) | |
| ProcessCustomTag |
Add the custom tag into the CustomTags collection.
(Inherited from Context) | |
| ProcessUnknownTag |
When overridden, tries to process a tag that cannot be processed by the GEDCOM mechanism, because the tag is unknown or encountered in an unexpected context.
(Inherited from Context) | |
| Serialize |
Seserialize the Gedcom.Net SDK class library and write data to the composer.
(Inherited from Context) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
Optionally, additional substructures such as State and Country are provided to be used by systems that have structured their addresses for indexing and sorting. If the sub-structures and AddressLine disagree, the AddressLine shall be taken as correct. Because the regionally-correct order and formatting of address components cannot be determined from the substructures alone, the AddressLine is required, even if its content appears to be redundant with the substructures.
| Deprecation Note — Addr1 and Addr2 were introduced in version 5.5 (1996) and Addr3 in version 5.5.1 (1999), defined as “The first/second/third line of an address.” Some applications interpreted Addr1 as “the first line of the street address”, but most took the spec as-written and treated it as a straight copy of a line of text already available in the AddressLine. Duplicating information bloats files and introduces the potential for self-contra‐diction. Addr1 , Addr2 , and Addr3 should not be added to new files. |