示例#1
0
 ///<summary>Sets the value of the <c>&lt;ResourceTypes&gt;</c> element.</summary>
 /// <param name="ResourceType">A ResourceType</param>
 ///<remarks>
 /// <para>This form of <c>setResourceTypes</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>ResourceTypes</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetResourceTypes( ResourceTypeType ResourceType )
 {
     RemoveChild( DatamodelDTD.EDUCATIONFILTER_RESOURCETYPES);
     AddChild( DatamodelDTD.EDUCATIONFILTER_RESOURCETYPES, new ResourceTypes( ResourceType ) );
 }
示例#2
0
 ///<summary>Sets the value of the <c>&lt;ResourceTypes&gt;</c> element.</summary>
 /// <param name="ResourceType">A ResourceType</param>
 ///<remarks>
 /// <para>This form of <c>setResourceTypes</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>ResourceTypes</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetResourceTypes(ResourceTypeType ResourceType)
 {
     RemoveChild(DatamodelDTD.EDUCATIONFILTER_RESOURCETYPES);
     AddChild(DatamodelDTD.EDUCATIONFILTER_RESOURCETYPES, new ResourceTypes(ResourceType));
 }