Пример #1
0
 ///<summary>Sets the value of the <c>&lt;CurrentAssignmentList&gt;</c> element.</summary>
 /// <param name="CurrentAssignment">A workforce member's assignment.</param>
 ///<remarks>
 /// <para>This form of <c>setCurrentAssignmentList</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>CurrentAssignmentList</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetCurrentAssignmentList( CurrentAssignment CurrentAssignment )
 {
     RemoveChild( WorkforceDTD.WORKFORCEPERSONAL_CURRENTASSIGNMENTLIST);
     AddChild( WorkforceDTD.WORKFORCEPERSONAL_CURRENTASSIGNMENTLIST, new CurrentAssignmentList( CurrentAssignment ) );
 }
Пример #2
0
 ///<summary>Sets the value of the <c>&lt;CurrentAssignmentList&gt;</c> element.</summary>
 /// <param name="CurrentAssignment">A workforce member's assignment.</param>
 ///<remarks>
 /// <para>This form of <c>setCurrentAssignmentList</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>CurrentAssignmentList</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetCurrentAssignmentList(CurrentAssignment CurrentAssignment)
 {
     RemoveChild(WorkforceDTD.WORKFORCEPERSONAL_CURRENTASSIGNMENTLIST);
     AddChild(WorkforceDTD.WORKFORCEPERSONAL_CURRENTASSIGNMENTLIST, new CurrentAssignmentList(CurrentAssignment));
 }