///<summary>Sets the value of the <c><Address></c> element.</summary> /// <param name="Type">Code that defines the location of the address. Note: A subset of specific valid values for each instance in a data object may be listed in that object.</param> /// <param name="Role">A facet of Address</param> /// <param name="Street">A Street</param> /// <param name="City">The city part of the address.</param> /// <param name="PostalCode">The ZIP/postal code.</param> ///<remarks> /// <para>This form of <c>setAddress</c> is provided as a convenience method /// that is functionally equivalent to the <c>Address</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.3</para> /// </remarks> public void SetAddress(AddressType Type, AddressRoleType Role, Street Street, string City, string PostalCode) { RemoveChild(ReportingDTD.REPORTSUBMITTERINFO_ADDRESS); AddChild(ReportingDTD.REPORTSUBMITTERINFO_ADDRESS, new Address(Type, Role, Street, City, PostalCode)); }
///<summary>Sets the value of the <c><Address></c> element.</summary> /// <param name="Type">Code that defines the location of the address. Note: A subset of specific valid values for each instance in a data object may be listed in that object.</param> /// <param name="Role">A facet of Address</param> /// <param name="Street">A Street</param> /// <param name="City">The city part of the address.</param> /// <param name="PostalCode">The ZIP/postal code.</param> ///<remarks> /// <para>This form of <c>setAddress</c> is provided as a convenience method /// that is functionally equivalent to the <c>Address</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.4</para> /// </remarks> public void SetAddress(AddressType Type, AddressRoleType Role, Street Street, string City, string PostalCode) { RemoveChild(AssessmentDTD.ASSESSMENTADMINISTRATION_ADDRESS); AddChild(AssessmentDTD.ASSESSMENTADMINISTRATION_ADDRESS, new Address(Type, Role, Street, City, PostalCode)); }
///<summary>Sets the value of the <c><Address></c> element.</summary> /// <param name="Type">Code that defines the location of the address. Note: A subset of specific valid values for each instance in a data object may be listed in that object.</param> /// <param name="Role">A facet of Address</param> /// <param name="Street">A Street</param> /// <param name="City">The city part of the address.</param> /// <param name="PostalCode">The ZIP/postal code.</param> ///<remarks> /// <para>This form of <c>setAddress</c> is provided as a convenience method /// that is functionally equivalent to the <c>Address</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.4</para> /// </remarks> public void SetAddress(AddressType Type, AddressRoleType Role, Street Street, string City, string PostalCode) { RemoveChild(LearningDTD.CONTACT_ADDRESS); AddChild(LearningDTD.CONTACT_ADDRESS, new Address(Type, Role, Street, City, PostalCode)); }
///<summary>Sets the value of the <c><Address></c> element.</summary> /// <param name="Type">Code that defines the location of the address. Note: A subset of specific valid values for each instance in a data object may be listed in that object.</param> /// <param name="Role">A facet of Address</param> /// <param name="Street">A Street</param> /// <param name="City">The city part of the address.</param> /// <param name="PostalCode">The ZIP/postal code.</param> ///<remarks> /// <para>This form of <c>setAddress</c> is provided as a convenience method /// that is functionally equivalent to the <c>Address</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.6</para> /// </remarks> public void SetAddress(AddressType Type, AddressRoleType Role, Street Street, string City, string PostalCode) { RemoveChild(Sif3assessmentDTD.SIF3ASSESSMENTSESSION_ADDRESS); AddChild(Sif3assessmentDTD.SIF3ASSESSMENTSESSION_ADDRESS, new Address(Type, Role, Street, City, PostalCode)); }