/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="primary">Indicate whether a SectionInfo is primary. Only one SectionInfo in the CorrelationSectionList can be primary.</param> ///<param name="value">Gets or sets the content value of the &lt;CorrelationSection&gt; element</param> /// public CorrelationSection(Primary primary, string value) : base(StudentDTD.CORRELATIONSECTION) { this.SetPrimary(primary); this.Value = value; }
/// <summary> /// Sets the value of the <c>Primary</c> attribute. /// </summary> /// <param name="val">A Primary object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "Indicate whether a SectionInfo is primary. Only one SectionInfo in the CorrelationSectionList can be primary."</para> /// <para>Version: 2.6</para> /// <para>Since: 2.6</para> /// </remarks> public void SetPrimary(Primary val) { SetField(StudentDTD.CORRELATIONSECTION_PRIMARY, val); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="primary">Indicate whether a SectionInfo is primary. Only one SectionInfo in the CorrelationSectionList can be primary.</param> ///<param name="value">Gets or sets the content value of the &lt;CorrelationSection&gt; element</param> /// public CorrelationSection( Primary primary, string value ) : base(StudentDTD.CORRELATIONSECTION) { this.SetPrimary( primary ); this.Value = value; }
///<summary>Adds the value of the <c><CorrelationSection></c> element.</summary> /// <param name="Primary">Indicate whether a SectionInfo is primary. Only one SectionInfo in the CorrelationSectionList can be primary.</param> /// <param name="Value">Gets or sets the content value of the &lt;CorrelationSection&gt; element</param> ///<remarks> /// <para>This form of <c>setCorrelationSection</c> is provided as a convenience method /// that is functionally equivalent to the method <c>AddCorrelationSection</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.6</para> /// </remarks> public void AddCorrelationSection(Primary Primary, string Value) { AddChild(StudentDTD.CORRELATIONSECTIONLIST_CORRELATIONSECTION, new CorrelationSection(Primary, Value)); }
/// <summary> /// Sets the value of the <c>Primary</c> attribute. /// </summary> /// <param name="val">A Primary object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "Indicate whether a SectionInfo is primary. Only one SectionInfo in the CorrelationSectionList can be primary."</para> /// <para>Version: 2.6</para> /// <para>Since: 2.6</para> /// </remarks> public void SetPrimary( Primary val ) { SetField( StudentDTD.CORRELATIONSECTION_PRIMARY, val ); }