///<summary>Sets the value of the <c>&lt;Location&gt;</c> element.</summary>
 /// <param name="Type">Values: Classroom, School, District, Campus, IntermediateUnit, StateEducationAgency</param>
 ///<remarks>
 /// <para>This form of <c>setLocation</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Location</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetLocation( LocationType Type )
 {
     RemoveChild( DwDTD.AGGREGATESTATISTICINFO_LOCATION);
     AddChild( DwDTD.AGGREGATESTATISTICINFO_LOCATION, new Location( Type ) );
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">Values: Classroom, School, District, Campus, IntermediateUnit, StateEducationAgency</param>
 ///
 public Location( LocationType type )
     : base(DwDTD.LOCATION)
 {
     this.SetType( type );
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A LocationType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "Values: Classroom, School, District, Campus, IntermediateUnit, StateEducationAgency"</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetType(LocationType val)
 {
     SetField(DwDTD.LOCATION_TYPE, val);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A LocationType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "Values: Classroom, School, District, Campus, IntermediateUnit, StateEducationAgency"</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetType( LocationType val )
 {
     SetField( DwDTD.LOCATION_TYPE, val );
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">Values: Classroom, School, District, Campus, IntermediateUnit, StateEducationAgency</param>
 ///
 public Location(LocationType type) : base(DwDTD.LOCATION)
 {
     this.SetType(type);
 }