/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="spatialUnitType">A SpatialUnitType</param> ///<param name="value">Gets or sets the content value of the &lt;StatisticalArea&gt; element</param> /// public StatisticalArea( SpatialUnitType spatialUnitType, string value ) : base(CommonDTD.STATISTICALAREA) { this.SetSpatialUnitType( spatialUnitType ); this.Value = value; }
/// <summary> /// Sets the value of the <c>SpatialUnitType</c> attribute. /// </summary> /// <param name="val">A SpatialUnitType object</param> /// <remarks> /// <para>Version: 2.6</para> /// <para>Since: 2.6</para> /// </remarks> public void SetSpatialUnitType( SpatialUnitType val ) { SetField( CommonDTD.STATISTICALAREA_SPATIALUNITTYPE, val ); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="spatialUnitType">A SpatialUnitType</param> ///<param name="value">Gets or sets the content value of the &lt;StatisticalArea&gt; element</param> /// public StatisticalArea(SpatialUnitType spatialUnitType, string value) : base(CommonDTD.STATISTICALAREA) { this.SetSpatialUnitType(spatialUnitType); this.Value = value; }
///<summary>Adds the value of the <c><StatisticalArea></c> element.</summary> /// <param name="SpatialUnitType">A SpatialUnitType</param> /// <param name="Value">Gets or sets the content value of the &lt;StatisticalArea&gt; element</param> ///<remarks> /// <para>This form of <c>setStatisticalArea</c> is provided as a convenience method /// that is functionally equivalent to the method <c>AddStatisticalArea</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.6</para> /// </remarks> public void AddStatisticalArea(SpatialUnitType SpatialUnitType, string Value) { AddChild(CommonDTD.STATISTICALAREALIST_STATISTICALAREA, new StatisticalArea(SpatialUnitType, Value)); }
/// <summary> /// Sets the value of the <c>SpatialUnitType</c> attribute. /// </summary> /// <param name="val">A SpatialUnitType object</param> /// <remarks> /// <para>Version: 2.6</para> /// <para>Since: 2.6</para> /// </remarks> public void SetSpatialUnitType(SpatialUnitType val) { SetField(CommonDTD.STATISTICALAREA_SPATIALUNITTYPE, val); }