///<summary>Sets the value of the <c><CountriesOfResidency></c> element.</summary> /// <param name="CountryOfResidency">A person's country of residence. </param> ///<remarks> /// <para>This form of <c>setCountriesOfResidency</c> is provided as a convenience method /// that is functionally equivalent to the <c>CountriesOfResidency</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void SetCountriesOfResidency( Country CountryOfResidency ) { RemoveChild( CommonDTD.DEMOGRAPHICS_COUNTRIESOFRESIDENCY); AddChild( CommonDTD.DEMOGRAPHICS_COUNTRIESOFRESIDENCY, new CountriesOfResidency( CountryOfResidency ) ); }
///<summary>Sets the value of the <c><CountriesOfCitizenship></c> element.</summary> /// <param name="CountryOfCitizenship">The country of legal nationality (i.e. the country which issued the individual's passport). CBDS: 100026</param> ///<remarks> /// <para>This form of <c>setCountriesOfCitizenship</c> is provided as a convenience method /// that is functionally equivalent to the <c>CountriesOfCitizenship</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void SetCountriesOfCitizenship( Country CountryOfCitizenship ) { RemoveChild( CommonDTD.DEMOGRAPHICS_COUNTRIESOFCITIZENSHIP); AddChild( CommonDTD.DEMOGRAPHICS_COUNTRIESOFCITIZENSHIP, new CountriesOfCitizenship( CountryOfCitizenship ) ); }