///<summary>Sets the value of the <c><CalendarDateType></c> element.</summary> /// <param name="Code">Code indicating the type of school day.</param> ///<remarks> /// <para>This form of <c>setCalendarDateType</c> is provided as a convenience method /// that is functionally equivalent to the <c>CalendarDateType</c></para> /// <para>Version: 2.5</para> /// <para>Since: 2.3</para> /// </remarks> public void SetCalendarDateType( AU0084CalendarEventType Code ) { RemoveChild( StudentDTD.CALENDARDATE_CALENDARDATETYPE); AddChild( StudentDTD.CALENDARDATE_CALENDARDATETYPE, new CalendarDateType( Code ) ); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="code">Code indicating the type of school day.</param> /// public CalendarDateType( AU0084CalendarEventType code ) : base(StudentDTD.CALENDARDATETYPE) { this.SetCode( code ); }
/// <summary> /// Sets the value of the <c><Code></c> element. /// </summary> /// <param name="val">A AU0084CalendarEventType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this element as: "Code indicating the type of school day."</para> /// <para>Version: 2.5</para> /// <para>Since: 2.3</para> /// </remarks> public void SetCode( AU0084CalendarEventType val ) { SetField( StudentDTD.CALENDARDATETYPE_CODE, val ); }
/// <summary> /// Sets the value of the <c><Code></c> element. /// </summary> /// <param name="val">A AU0084CalendarEventType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this element as: "Code indicating the type of school day."</para> /// <para>Version: 2.6</para> /// <para>Since: 2.3</para> /// </remarks> public void SetCode(AU0084CalendarEventType val) { SetField(StudentDTD.CALENDARDATETYPE_CODE, val); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="code">Code indicating the type of school day.</param> /// public CalendarDateType(AU0084CalendarEventType code) : base(StudentDTD.CALENDARDATETYPE) { this.SetCode(code); }
///<summary>Sets the value of the <c><CalendarDateType></c> element.</summary> /// <param name="Code">Code indicating the type of school day.</param> ///<remarks> /// <para>This form of <c>setCalendarDateType</c> is provided as a convenience method /// that is functionally equivalent to the <c>CalendarDateType</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.3</para> /// </remarks> public void SetCalendarDateType(AU0084CalendarEventType Code) { RemoveChild(StudentDTD.CALENDARDATE_CALENDARDATETYPE); AddChild(StudentDTD.CALENDARDATE_CALENDARDATETYPE, new CalendarDateType(Code)); }