示例#1
0
 /// <summary>
 /// Sets the value of the <c>CodeType</c> attribute.
 /// </summary>
 /// <param name="val">A ProgramExitReasonCode object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "If value="NCES" then use code set 0815 Program Exit Reason [NCES Handbooks]"</para>
 /// <para>Version: 1.5r1</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetCodeType(ProgramExitReasonCode val)
 {
     SetField(ProgramsDTD.PROGRAMEXITREASON_CODETYPE, val);
 }
示例#2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="codeType">If value="NCES" then use code set 0815 Program Exit Reason [NCES Handbooks]</param>
 ///
 public ProgramExitReason(ProgramExitReasonCode codeType) : base(ProgramsDTD.PROGRAMEXITREASON)
 {
     this.SetCodeType(codeType);
 }
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="codeType">If value="NCES" then use code set 0815 Program Exit Reason [NCES Handbooks]</param>
 ///
 public ProgramExitReason( ProgramExitReasonCode codeType )
     : base(ProgramsDTD.PROGRAMEXITREASON)
 {
     this.SetCodeType( codeType );
 }
 ///<summary>Sets the value of the <c>&lt;ProgramExitReason&gt;</c> element.</summary>
 /// <param name="CodeType">If value="NCES" then use code set 0815 Program Exit Reason [NCES Handbooks]</param>
 ///<remarks>
 /// <para>This form of <c>setProgramExitReason</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>ProgramExitReason</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetProgramExitReason( ProgramExitReasonCode CodeType )
 {
     RemoveChild( ProgramsDTD.STUDENTPARTICIPATION_PROGRAMEXITREASON);
     AddChild( ProgramsDTD.STUDENTPARTICIPATION_PROGRAMEXITREASON, new ProgramExitReason( CodeType ) );
 }
 /// <summary>
 /// Sets the value of the <c>CodeType</c> attribute.
 /// </summary>
 /// <param name="val">A ProgramExitReasonCode object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "If value="NCES" then use code set 0815 Program Exit Reason [NCES Handbooks]"</para>
 /// <para>Version: 1.5r1</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetCodeType( ProgramExitReasonCode val )
 {
     SetField( ProgramsDTD.PROGRAMEXITREASON_CODETYPE, val );
 }