/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="objectName">An ObjectName</param> ///<param name="ordering">An Ordering</param> ///<param name="value">Gets or sets the content value of the &lt;SIFOrderByElement&gt; element</param> /// public SIFOrderByElement( string objectName, SIFOrderBy ordering, string value ) : base(InfraDTD.SIFORDERBYELEMENT) { this.ObjectName = objectName; this.SetOrdering( ordering ); this.Value = value; }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="objectName">An ObjectName</param> ///<param name="ordering">An Ordering</param> ///<param name="value">Gets or sets the content value of the &lt;SIFOrderByElement&gt; element</param> /// public SIFOrderByElement(string objectName, SIFOrderBy ordering, string value) : base(InfraDTD.SIFORDERBYELEMENT) { this.ObjectName = objectName; this.SetOrdering(ordering); this.Value = value; }
/// <summary> /// Sets the value of the <c>Ordering</c> attribute. /// </summary> /// <param name="val">A SIFOrderBy object</param> /// <remarks> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void SetOrdering(SIFOrderBy val) { SetField(InfraDTD.SIFORDERBYELEMENT_ORDERING, val); }
///<summary>Adds the value of the <c><SIF_Element></c> element.</summary> /// <param name="ObjectName">An ObjectName</param> /// <param name="Ordering">An Ordering</param> /// <param name="Value">Gets or sets the content value of the &lt;SIFOrderByElement&gt; element</param> ///<remarks> /// <para>This form of <c>setSIF_Element</c> is provided as a convenience method /// that is functionally equivalent to the method <c>AddSIF_Element</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void AddSIF_Element(string ObjectName, SIFOrderBy Ordering, string Value) { AddChild(InfraDTD.SIF_ORDERBY_SIF_ELEMENT, new SIFOrderByElement(ObjectName, Ordering, Value)); }
/// <summary> /// Sets the value of the <c>Ordering</c> attribute. /// </summary> /// <param name="val">A SIFOrderBy object</param> /// <remarks> /// <para>Version: 2.5</para> /// <para>Since: 2.0</para> /// </remarks> public void SetOrdering( SIFOrderBy val ) { SetField( InfraDTD.SIFORDERBYELEMENT_ORDERING, val ); }