///<summary>Sets the value of the <c><FormerUPNList></c> element.</summary> /// <param name="Upn">A former UPN assigned to the pupil whilst at a school (eg temporary UPN was allocated when the pupil was first admitted to the school but subsequently replaced by the permanent UPN being retrieved from a previous school). CBDS: 100002</param> ///<remarks> /// <para>This form of <c>setFormerUPNList</c> is provided as a convenience method /// that is functionally equivalent to the <c>FormerUPNList</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void SetFormerUPNList(UPN Upn) { RemoveChild(LearnerDTD.LEARNERPERSONAL_FORMERUPNLIST); AddChild(LearnerDTD.LEARNERPERSONAL_FORMERUPNLIST, new FormerUPNList(Upn)); }
///<summary>Sets the value of the <c><FormerUPNList></c> element.</summary> /// <param name="Upn">A former UPN assigned to the pupil whilst at a school (eg temporary UPN was allocated when the pupil was first admitted to the school but subsequently replaced by the permanent UPN being retrieved from a previous school). CBDS: 100002</param> ///<remarks> /// <para>This form of <c>setFormerUPNList</c> is provided as a convenience method /// that is functionally equivalent to the <c>FormerUPNList</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void SetFormerUPNList( UPN Upn ) { RemoveChild( LearnerDTD.LEARNERPERSONAL_FORMERUPNLIST); AddChild( LearnerDTD.LEARNERPERSONAL_FORMERUPNLIST, new FormerUPNList( Upn ) ); }