Click or drag to resize

Association Class

Applicable for: 7.0

Extends the base AssociationStructure 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 Association : AssociationStructure

The Association type exposes the following members.

Constructors
 NameDescription
Public methodAssociationInitializes a new instance of the Association class
Top
Properties
 NameDescription
Public propertyAssociationPhrase Gets or sets textual information that cannot be expressed in the superstructure due to the limitations of its data type. A phrase may restate information contained in the superstructure, but doing so is not recommended unless it is needed for clarity.
Public propertyCitations Gets or sets the collection of source citations.
(Inherited from AssociationStructure)
Public propertyCustomTags Gets the collection of сгыещь tags encountered in this context.
(Inherited from Context)
Public propertyId Gets or sets the xref to the record associated with the subject of the superstructure.
(Inherited from AssociationStructure)
Public propertyNotes Gets or sets the collection of notes.
(Inherited from AssociationStructure)
Public propertyRole Gets or sets an enumerated value indicating what role this person played in an event or person’s life.
Public propertyRolePhrase Gets or sets textual information that cannot be expressed in the superstructure due to the limitations of its data type. A phrase may restate information contained in the superstructure, but doing so is not recommended unless it is needed for clarity.
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
An IndividualRecord associated with the subject of the superstructure. The nature of the association is indicated in the Role property.

A "@VOID@" in the Id and AssociationPhrase can be used to describe associations to people not referenced by any IndividualRecord record.

A role that is not in the Role enumeration can be specified in the RolePhrase property.

Example

The following indicates that “Mr Stockdale” was the individual’s teacher and that individual @I2@ was the clergy offciating at their baptism.

C#
var i = new Individual();
See Also