///<summary>Sets the value of the <c><StudentList></c> element.</summary> /// <param name="TeachingGroupStudent">A TeachingGroupStudent</param> ///<remarks> /// <para>This form of <c>setStudentList</c> is provided as a convenience method /// that is functionally equivalent to the <c>StudentList</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.3</para> /// </remarks> public void SetStudentList(TeachingGroupStudent TeachingGroupStudent) { RemoveChild(LearningDTD.TEACHINGGROUP_STUDENTLIST); AddChild(LearningDTD.TEACHINGGROUP_STUDENTLIST, new StudentList(TeachingGroupStudent)); }
///<summary>Sets the value of the <c><StudentList></c> element.</summary> /// <param name="TeachingGroupStudent">A TeachingGroupStudent</param> ///<remarks> /// <para>This form of <c>setStudentList</c> is provided as a convenience method /// that is functionally equivalent to the <c>StudentList</c></para> /// <para>Version: 2.5</para> /// <para>Since: 2.3</para> /// </remarks> public void SetStudentList( TeachingGroupStudent TeachingGroupStudent ) { RemoveChild( LearningDTD.TEACHINGGROUP_STUDENTLIST); AddChild( LearningDTD.TEACHINGGROUP_STUDENTLIST, new StudentList( TeachingGroupStudent ) ); }