///<summary>Sets the value of the <c><ProgramType></c> element.</summary> /// <param name="Code">The type of the program. Type identifies the list of values.</param> ///<remarks> /// <para>This form of <c>setProgramType</c> is provided as a convenience method /// that is functionally equivalent to the <c>ProgramType</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void SetProgramType( StudentFamilyProgramType Code ) { RemoveChild( ProgramsDTD.STUDENTPARTICIPATION_PROGRAMTYPE); AddChild( ProgramsDTD.STUDENTPARTICIPATION_PROGRAMTYPE, new ProgramType( Code ) ); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="code">The type of the program. Type identifies the list of values.</param> /// public ProgramType( StudentFamilyProgramType code ) : base(CommonDTD.PROGRAMTYPE) { this.SetCode( code ); }
/// <summary> /// Sets the value of the <c><Code></c> element. /// </summary> /// <param name="val">A StudentFamilyProgramType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this element as: "The type of the program. Type identifies the list of values."</para> /// <para>Version: 2.5</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetCode( StudentFamilyProgramType val ) { SetField( CommonDTD.PROGRAMTYPE_CODE, val ); }
///<summary>Sets the value of the <c><ProgramType></c> element.</summary> /// <param name="Code">The type of the program. Type identifies the list of values.</param> ///<remarks> /// <para>This form of <c>setProgramType</c> is provided as a convenience method /// that is functionally equivalent to the <c>ProgramType</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.4</para> /// </remarks> public void SetProgramType(StudentFamilyProgramType Code) { RemoveChild(CommonDTD.STUDENTPARTICIPATIONDATAELEMENT_PROGRAMTYPE); AddChild(CommonDTD.STUDENTPARTICIPATIONDATAELEMENT_PROGRAMTYPE, new ProgramType(Code)); }
/// <summary> /// Sets the value of the <c><Code></c> element. /// </summary> /// <param name="val">A StudentFamilyProgramType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this element as: "The type of the program. Type identifies the list of values."</para> /// <para>Version: 2.6</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetCode(StudentFamilyProgramType val) { SetField(CommonDTD.PROGRAMTYPE_CODE, val); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="code">The type of the program. Type identifies the list of values.</param> /// public ProgramType(StudentFamilyProgramType code) : base(CommonDTD.PROGRAMTYPE) { this.SetCode(code); }