/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="code">Code indicating the type of exit for this enrollment.</param> /// public EnrollmentHistoryExitType( NCES0644ExitWithdrawalType code ) : base(EtranscriptsDTD.ENROLLMENTHISTORYEXITTYPE) { this.SetCode( code ); }
///<summary>Sets the value of the <c><ExitType></c> element.</summary> /// <param name="Code">Code indicating the type of exit for this enrollment.</param> ///<remarks> /// <para>This form of <c>setExitType</c> is provided as a convenience method /// that is functionally equivalent to the <c>ExitType</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.4</para> /// </remarks> public void SetExitType( NCES0644ExitWithdrawalType Code ) { RemoveChild( EtranscriptsDTD.STUDENTSCHOOLENROLLMENTHISTORY_EXITTYPE); AddChild( EtranscriptsDTD.STUDENTSCHOOLENROLLMENTHISTORY_EXITTYPE, new EnrollmentHistoryExitType( Code ) ); }
/// <summary> /// Sets the value of the <c><Code></c> element. /// </summary> /// <param name="val">A NCES0644ExitWithdrawalType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this element as: "Code indicating the type of exit for this enrollment."</para> /// <para>Version: 2.6</para> /// <para>Since: 2.4</para> /// </remarks> public void SetCode( NCES0644ExitWithdrawalType val ) { SetField( EtranscriptsDTD.ENROLLMENTHISTORYEXITTYPE_CODE, val ); }