コード例 #1
0
ファイル: TermInfo.cs プロジェクト: rubitek/OpenADK-csharp
 ///<summary>Sets the value of the <c>&lt;TermSpan&gt;</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));
 }
コード例 #2
0
 ///<summary>Sets the value of the <c>&lt;TermSpan&gt;</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));
 }
コード例 #3
0
 /// <summary>
 /// Sets the value of the <c>&lt;SessionType&gt;</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);
 }