/// <summary>
 /// Sets the value of the <c>&lt;Code&gt;</c> element.
 /// </summary>
 /// <param name="val">A AUEnglishProficiencyType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Person's proficiency in English."</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetCode( AUEnglishProficiencyType val )
 {
     SetField( CommonDTD.ENGLISHPROFICIENCY_CODE, val );
 }
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">Person's proficiency in English.</param>
 ///
 public EnglishProficiency( AUEnglishProficiencyType code )
     : base(CommonDTD.ENGLISHPROFICIENCY)
 {
     this.SetCode( code );
 }
示例#3
0
 ///<summary>Sets the value of the <c>&lt;EnglishProficiency&gt;</c> element.</summary>
 /// <param name="Code">Person's proficiency in English.</param>
 ///<remarks>
 /// <para>This form of <c>setEnglishProficiency</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>EnglishProficiency</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetEnglishProficiency( AUEnglishProficiencyType Code )
 {
     RemoveChild( CommonDTD.DEMOGRAPHICS_ENGLISHPROFICIENCY);
     AddChild( CommonDTD.DEMOGRAPHICS_ENGLISHPROFICIENCY, new EnglishProficiency( Code ) );
 }