예제 #1
0
 ///<summary>Sets the value of the <c>&lt;EthnicityList&gt;</c> element.</summary>
 /// <param name="Ethnicity">An Ethnicity</param>
 ///<remarks>
 /// <para>This form of <c>setEthnicityList</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>EthnicityList</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetEthnicityList( Ethnicity Ethnicity )
 {
     RemoveChild( CommonDTD.DEMOGRAPHICS_ETHNICITYLIST);
     AddChild( CommonDTD.DEMOGRAPHICS_ETHNICITYLIST, new EthnicityList( Ethnicity ) );
 }
예제 #2
0
 ///<summary>Sets the value of the <c>&lt;EthnicityList&gt;</c> element.</summary>
 /// <param name="Ethnicity">An Ethnicity</param>
 ///<remarks>
 /// <para>This form of <c>setEthnicityList</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>EthnicityList</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetEthnicityList(Ethnicity Ethnicity)
 {
     RemoveChild(CommonDTD.DEMOGRAPHICS_ETHNICITYLIST);
     AddChild(CommonDTD.DEMOGRAPHICS_ETHNICITYLIST, new EthnicityList(Ethnicity));
 }