///<summary>Sets the value of the <c><TermSpan></c> element.</summary> /// <param name="Code">Code for session type.</param> ///<remarks> /// <para>This form of <c>setTermSpan</c> is provided as a convenience method /// that is functionally equivalent to the <c>TermSpan</c></para> /// <para>Version: 2.6</para> /// <para>Since: 1.1</para> /// </remarks> public void SetTermSpan(SessionTypeCode Code) { RemoveChild(StudentDTD.TERMINFO_TERMSPAN); AddChild(StudentDTD.TERMINFO_TERMSPAN, new TermSpan(Code)); }
///<summary>Sets the value of the <c><TermSpan></c> element.</summary> /// <param name="Code">Code for session type.</param> ///<remarks> /// <para>This form of <c>setTermSpan</c> is provided as a convenience method /// that is functionally equivalent to the <c>TermSpan</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void SetTermSpan(SessionTypeCode Code) { RemoveChild(EtranscriptsDTD.TERMINFODATA_TERMSPAN); AddChild(EtranscriptsDTD.TERMINFODATA_TERMSPAN, new TermSpan(Code)); }
/// <summary> /// Sets the value of the <c><SessionType></c> element. /// </summary> /// <param name="val">A SessionTypeCode object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this element as: "Code that specifies the session type."</para> /// <para>Version: 2.6</para> /// <para>Since: 1.1</para> /// </remarks> public void SetSessionType(SessionTypeCode val) { SetField(StudentDTD.SCHOOLINFO_SESSIONTYPE, val); }