/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="value">Gets or sets the content value of the &lt;Post&gt; element</param> /// public Post( EmployeePost value ) : base(WorkforceDTD.POST) { this.SetValue( value ); }
/// <summary> /// Sets the value of the <c><Value></c> element. /// </summary> /// <param name="val">A EmployeePost object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this of the content as: "Gets or sets the content value of the &lt;Post&gt; element"</para> /// <para>Version: 2.5</para> /// <para>Since: 2.0</para> /// </remarks> public void SetValue( EmployeePost val ) { SetField( WorkforceDTD.POST, val ); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="value">Gets or sets the content value of the &lt;Post&gt; element</param> /// public Post(EmployeePost value) : base(WorkforceDTD.POST) { this.SetValue(value); }
/// <summary> /// Sets the value of the <c><Value></c> element. /// </summary> /// <param name="val">A EmployeePost object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this of the content as: "Gets or sets the content value of the &lt;Post&gt; element"</para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void SetValue(EmployeePost val) { SetField(WorkforceDTD.POST, val); }
///<summary>Adds the value of the <c><Post></c> element.</summary> /// <param name="Value">Gets or sets the content value of the &lt;Post&gt; element</param> ///<remarks> /// <para>This form of <c>setPost</c> is provided as a convenience method /// that is functionally equivalent to the method <c>AddPost</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void AddPost(EmployeePost Value) { AddChild(WorkforceDTD.POSTS_POST, new Post(Value)); }