///<summary>Sets the value of the <c><LocationOfInstruction></c> element.</summary> /// <param name="Code">Code representing the location of instruction.</param> ///<remarks> /// <para>This form of <c>setLocationOfInstruction</c> is provided as a convenience method /// that is functionally equivalent to the <c>LocationOfInstruction</c></para> /// <para>Version: 2.6</para> /// <para>Since: 1.1</para> /// </remarks> public void SetLocationOfInstruction(LocationOfInstructionCode Code) { RemoveChild(StudentDTD.SECTIONINFO_LOCATIONOFINSTRUCTION); AddChild(StudentDTD.SECTIONINFO_LOCATIONOFINSTRUCTION, new LocationOfInstruction(Code)); }
///<summary>Sets the value of the <c><LocationOfInstruction></c> element.</summary> /// <param name="Code">Code representing the location of instruction.</param> ///<remarks> /// <para>This form of <c>setLocationOfInstruction</c> is provided as a convenience method /// that is functionally equivalent to the <c>LocationOfInstruction</c></para> /// <para>Version: 2.6</para> /// <para>Since: 1.1</para> /// </remarks> public void SetLocationOfInstruction( LocationOfInstructionCode Code ) { RemoveChild( StudentDTD.SECTIONINFO_LOCATIONOFINSTRUCTION); AddChild( StudentDTD.SECTIONINFO_LOCATIONOFINSTRUCTION, new LocationOfInstruction( Code ) ); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="code">Code representing the location of instruction.</param> /// public LocationOfInstruction( LocationOfInstructionCode code ) : base(StudentDTD.LOCATIONOFINSTRUCTION) { this.SetCode( code ); }
/// <summary> /// Sets the value of the <c>Code</c> attribute. /// </summary> /// <param name="val">A LocationOfInstructionCode object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "Code representing the location of instruction."</para> /// <para>Version: 2.6</para> /// <para>Since: 1.1</para> /// </remarks> public void SetCode( LocationOfInstructionCode val ) { SetField( StudentDTD.LOCATIONOFINSTRUCTION_CODE, val ); }
/// <summary> /// Sets the value of the <c>Code</c> attribute. /// </summary> /// <param name="val">A LocationOfInstructionCode object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "Code representing the location of instruction."</para> /// <para>Version: 2.6</para> /// <para>Since: 1.1</para> /// </remarks> public void SetCode(LocationOfInstructionCode val) { SetField(StudentDTD.LOCATIONOFINSTRUCTION_CODE, val); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="code">Code representing the location of instruction.</param> /// public LocationOfInstruction(LocationOfInstructionCode code) : base(StudentDTD.LOCATIONOFINSTRUCTION) { this.SetCode(code); }