///<summary>Sets the value of the <c><EssentialMaterials></c> element.</summary> /// <param name="EssentialMaterial">An EssentialMaterial</param> ///<remarks> /// <para>This form of <c>setEssentialMaterials</c> is provided as a convenience method /// that is functionally equivalent to the <c>EssentialMaterials</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.6</para> /// </remarks> public void SetEssentialMaterials(EssentialMaterial EssentialMaterial) { RemoveChild(Sif3assessmentDTD.ACTIVITY_ESSENTIALMATERIALS); AddChild(Sif3assessmentDTD.ACTIVITY_ESSENTIALMATERIALS, new EssentialMaterialList(EssentialMaterial)); }
///<summary>Sets the value of the <c><EssentialMaterials></c> element.</summary> /// <param name="EssentialMaterial">An EssentialMaterial</param> ///<remarks> /// <para>This form of <c>setEssentialMaterials</c> is provided as a convenience method /// that is functionally equivalent to the <c>EssentialMaterials</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.6</para> /// </remarks> public void SetEssentialMaterials( EssentialMaterial EssentialMaterial ) { RemoveChild( Sif3assessmentDTD.ACTIVITY_ESSENTIALMATERIALS); AddChild( Sif3assessmentDTD.ACTIVITY_ESSENTIALMATERIALS, new EssentialMaterialList( EssentialMaterial ) ); }