コード例 #1
0
 ///<summary>Sets the value of the <c>&lt;ComponentList&gt;</c> element.</summary>
 /// <param name="AssessmentResultComponentRefId">A SIF identifier for an assessment result component.</param>
 ///<remarks>
 /// <para>This form of <c>setComponentList</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>ComponentList</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.1</para>
 /// </remarks>
 public void SetComponentList( AssessmentResultComponentRefId AssessmentResultComponentRefId )
 {
     RemoveChild( AssessmentDTD.ASSESSMENTRESULTCOMPONENTGROUP_COMPONENTLIST);
     AddChild( AssessmentDTD.ASSESSMENTRESULTCOMPONENTGROUP_COMPONENTLIST, new AssessmentResultComponentList( AssessmentResultComponentRefId ) );
 }
コード例 #2
0
 ///<summary>Sets the value of the <c>&lt;ComponentList&gt;</c> element.</summary>
 /// <param name="AssessmentResultComponentRefId">A SIF identifier for an assessment result component.</param>
 ///<remarks>
 /// <para>This form of <c>setComponentList</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>ComponentList</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.1</para>
 /// </remarks>
 public void SetComponentList(AssessmentResultComponentRefId AssessmentResultComponentRefId)
 {
     RemoveChild(AssessmentDTD.ASSESSMENTRESULTCOMPONENTGROUP_COMPONENTLIST);
     AddChild(AssessmentDTD.ASSESSMENTRESULTCOMPONENTGROUP_COMPONENTLIST, new AssessmentResultComponentList(AssessmentResultComponentRefId));
 }