///<summary>Sets the value of the <c><CalculationRule></c> element.</summary> /// <param name="Type">Values Description, Formula, URL</param> /// <param name="Value">Gets or sets the content value of the &lt;CalculationRule&gt; element</param> ///<remarks> /// <para>This form of <c>setCalculationRule</c> is provided as a convenience method /// that is functionally equivalent to the <c>CalculationRule</c></para> /// <para>Version: 2.6</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetCalculationRule( CalculationRuleType Type, string Value ) { RemoveChild( DwDTD.AGGREGATESTATISTICINFO_CALCULATIONRULE); AddChild( DwDTD.AGGREGATESTATISTICINFO_CALCULATIONRULE, new CalculationRule( Type, Value ) ); }
///<summary>Sets the value of the <c><CalculationRule></c> element.</summary> /// <param name="Type">Values Description, Formula, URL</param> /// <param name="Value">Gets or sets the content value of the &lt;CalculationRule&gt; element</param> ///<remarks> /// <para>This form of <c>setCalculationRule</c> is provided as a convenience method /// that is functionally equivalent to the <c>CalculationRule</c></para> /// <para>Version: 2.6</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetCalculationRule(CalculationRuleType Type, string Value) { RemoveChild(DwDTD.AGGREGATESTATISTICINFO_CALCULATIONRULE); AddChild(DwDTD.AGGREGATESTATISTICINFO_CALCULATIONRULE, new CalculationRule(Type, Value)); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="type">Values Description, Formula, URL</param> ///<param name="value">Gets or sets the content value of the &lt;CalculationRule&gt; element</param> /// public CalculationRule( CalculationRuleType type, string value ) : base(DwDTD.CALCULATIONRULE) { this.SetType( type ); this.Value = value; }
/// <summary> /// Sets the value of the <c>Type</c> attribute. /// </summary> /// <param name="val">A CalculationRuleType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "Values Description, Formula, URL"</para> /// <para>Version: 2.5</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetType( CalculationRuleType val ) { SetField( DwDTD.CALCULATIONRULE_TYPE, val ); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="type">Values Description, Formula, URL</param> ///<param name="value">Gets or sets the content value of the &lt;CalculationRule&gt; element</param> /// public CalculationRule(CalculationRuleType type, string value) : base(DwDTD.CALCULATIONRULE) { this.SetType(type); this.Value = value; }
/// <summary> /// Sets the value of the <c>Type</c> attribute. /// </summary> /// <param name="val">A CalculationRuleType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "Values Description, Formula, URL"</para> /// <para>Version: 2.6</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetType(CalculationRuleType val) { SetField(DwDTD.CALCULATIONRULE_TYPE, val); }