Ejemplo n.º 1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">This is the code that specifies the person's language. CBDS: 100046, 100047, 100171, P158</param>
 ///
 public Language( Languages code )
     : base(CommonDTD.LANGUAGE)
 {
     this.SetCode( code );
 }
Ejemplo n.º 2
0
 ///<summary>Adds the value of the <c>&lt;Language&gt;</c> element.</summary>
 /// <param name="Code">This is the code that specifies the person's language. CBDS: 100046, 100047, 100171, P158</param>
 ///<remarks>
 /// <para>This form of <c>setLanguage</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddLanguage</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void AddLanguage(Languages Code)
 {
     AddChild(CommonDTD.LANGUAGELIST_LANGUAGE, new Language(Code));
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Sets the value of the <c>&lt;Code&gt;</c> element.
 /// </summary>
 /// <param name="val">A Languages object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "This is the code that specifies the person's language. CBDS: 100046, 100047, 100171, P158"</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetCode( Languages val )
 {
     SetField( CommonDTD.LANGUAGE_CODE, val );
 }