コード例 #1
0
 /// <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 &amp;lt;SIFOrderByElement&amp;gt; element</param>
 ///
 public SIFOrderByElement( string objectName, SIFOrderBy ordering, string value )
     : base(InfraDTD.SIFORDERBYELEMENT)
 {
     this.ObjectName = objectName;
     this.SetOrdering( ordering );
     this.Value = value;
 }
コード例 #2
0
 /// <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 &amp;lt;SIFOrderByElement&amp;gt; element</param>
 ///
 public SIFOrderByElement(string objectName, SIFOrderBy ordering, string value) : base(InfraDTD.SIFORDERBYELEMENT)
 {
     this.ObjectName = objectName;
     this.SetOrdering(ordering);
     this.Value = value;
 }
コード例 #3
0
 /// <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);
 }
コード例 #4
0
 ///<summary>Adds the value of the <c>&lt;SIF_Element&gt;</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 &amp;lt;SIFOrderByElement&amp;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));
 }
コード例 #5
0
 /// <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 );
 }