Association Class |
Applicable for: 5.5
Extends the base AssociationStructure class with properties specific to the applicable GEDCOM standards.The Association type exposes the following members.
| Name | Description | |
|---|---|---|
| Association | Initializes a new instance of the Association class |
| Name | Description | |
|---|---|---|
| Citations |
Gets or sets the collection of source citations.
(Inherited from AssociationStructure) | |
| CustomTags |
Gets the collection of сгыещь tags encountered in this context.
(Inherited from Context) | |
| Id |
Gets or sets the xref to the record associated with the subject of the superstructure.
(Inherited from AssociationStructure) | |
| Notes |
Gets or sets the collection of notes.
(Inherited from AssociationStructure) | |
| Relation | Gets or sets a word or phrase that states object 1's relation is object 2. | |
| Type | Gets or sets an indicator of the record type being pointed to or used. | |
| UnknownTags |
Gets the collection of unknown tags encountered in this context.
(Inherited from Context) |
| 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) |
using Patagames.GedcomNetSdk.Primitives; using Patagames.GedcomNetSdk.Structures; using Patagames.GedcomNetSdk.Records.Ver55; using Patagames.GedcomNetSdk.Structures.Ver55;
var indi = new Individual() { IndividualId = "@I01@", Name = new GedcomCollection<PersonalNameStructure>() { new PersonalName("Joe /Jacob/") }, Associates = new GedcomCollection<AssociationStructure>() { new Association() { Id = "@S01@", Type = "great grandson" } } };