コード例 #1
0
 /// <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 &amp;lt;StatisticalArea&amp;gt; element</param>
 ///
 public StatisticalArea( SpatialUnitType spatialUnitType, string value )
     : base(CommonDTD.STATISTICALAREA)
 {
     this.SetSpatialUnitType( spatialUnitType );
     this.Value = value;
 }
コード例 #2
0
 /// <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 );
 }
コード例 #3
0
 /// <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 &amp;lt;StatisticalArea&amp;gt; element</param>
 ///
 public StatisticalArea(SpatialUnitType spatialUnitType, string value) : base(CommonDTD.STATISTICALAREA)
 {
     this.SetSpatialUnitType(spatialUnitType);
     this.Value = value;
 }
コード例 #4
0
 ///<summary>Adds the value of the <c>&lt;StatisticalArea&gt;</c> element.</summary>
 /// <param name="SpatialUnitType">A SpatialUnitType</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;StatisticalArea&amp;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));
 }
コード例 #5
0
 /// <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);
 }