Click or drag to resize

Place Class

Applicable for: 7.0

Extends the base PlaceStructure class with properties specific to the applicable GEDCOM standards.
Inheritance Hierarchy

Namespace: Patagames.GedcomNetSdk.Structures.Ver70
Assembly: Patagames.Gedcom.Net.Sdk (in Patagames.Gedcom.Net.Sdk.dll) Version: 1.0.8
Syntax
public class Place : PlaceStructure

The Place type exposes the following members.

Constructors
 NameDescription
Public methodPlaceInitializes a new instance of the Place class
Top
Properties
 NameDescription
Public propertyCustomTags Gets the collection of сгыещь tags encountered in this context.
(Inherited from Context)
Public propertyExternalIds Gets or set a coolection of external identifiers.
Public propertyHierarchy Gets or sets a value indicating the jurisdictional entities that are named in a sequence from the lowest to the highest jurisdiction.
Public propertyLanguage Gets or sets the primary human language of the Name
Public propertyMap Gets or sets the value specifying the latitudinal and longitudinal coordinates of the place name.
Public propertyName Gets or sets the jurisdictional name of the place where the event took place. Jurisdictions are separated by commas, for example, "Cove, Cache, Utah, USA."
(Inherited from PlaceStructure)
Public propertyNotes Gets or sets the collection of notes.
(Inherited from PlaceStructure)
Public propertyTranlation Gets or sets a collection of translations of the Name into various languages.
Public propertyUnknownTags Gets the collection of unknown tags encountered in this context.
(Inherited from Context)
Top
Methods
 NameDescription
Protected methodContextClosed Called when the context is closed. The default implementation does nothing.
(Inherited from Context)
Protected methodContextOpened Called when a context is opened. The default implementation does nothing.
(Inherited from Context)
Public methodDeserialize Read data from the parser and deserialize it into the Gedcom.Net SDK class library.
(Inherited from Context)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetValueT Hets the value and main tags of the specified propName.
(Inherited from Context)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodPreporcessTag Called before tag processing begins. The default implementation does nothing.
(Inherited from Context)
Protected methodProcessCustomTag Add the custom tag into the CustomTags collection.
(Inherited from Context)
Protected methodProcessUnknownTag 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)
Public methodSerialize Seserialize the Gedcom.Net SDK class library and write data to the composer.
(Inherited from Context)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
A place, which can be represented in several ways:
  • The Name contains a comma-separated list of region names, ordered from smallest to largest. The specific meaning of each element is given by the Hierarchy, or in the PlaceHierarchy if there is no Hierarchy. Elements should be left blank if they are unknown, do not apply to the location, or are too specifc for the region in question. See an example 01 below.
  • The Name may be translated or transliterated into different languages or scripts using the TranslatedPlace collection. It should use the same Hierarchy.
  • Global coordinates may be presented in the Map property.
Note  Note
This specification does not support places where a region name contains a comma.An alternative system for representing locations is likely to be added in a later version.
Example

Example 01: a record describing birth throughout Oneida county could be coded as

C#
using Patagames.GedcomNetSdk.Structures.Ver70;
using Patagames.GedcomNetSdk.Events.Ver70.Individual;
C#
var evt = new EvtBirth();
evt.Place = new Place()
{
    Name = ", Oneida, Idaho, USA",
    Hierarchy = "City, County, State, Country"
};
See Also