///<summary>Adds the value of the <c><OtherCode></c> element.</summary> /// <param name="Codeset">Describes the OtherCode element content as either a /// state/province code, a local code, other code, or text string.</param> /// <param name="Value">Gets or sets the content value of the &lt;OtherCode&gt; element</param> ///<remarks> /// <para>This form of <c>setOtherCode</c> is provided as a convenience method /// that is functionally equivalent to the method <c>AddOtherCode</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void AddOtherCode(Codeset Codeset, string Value) { AddChild(CommonDTD.OTHERCODELIST_OTHERCODE, new OtherCode(Codeset, Value)); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="codeset">Describes the OtherCode element content as either a /// state/province code, a local code, other code, or text string.</param> ///<param name="value">Gets or sets the content value of the &lt;OtherCode&gt; element</param> /// public OtherCode( Codeset codeset, string value ) : base(CommonDTD.OTHERCODE) { this.SetCodeset( codeset ); this.Value = value; }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="codeset">Describes the OtherCode element content as either a /// state/province code, a local code, other code, or text string.</param> ///<param name="value">Gets or sets the content value of the &lt;OtherCode&gt; element</param> /// public OtherCode(Codeset codeset, string value) : base(CommonDTD.OTHERCODE) { this.SetCodeset(codeset); this.Value = value; }
/// <summary> /// Sets the value of the <c>Codeset</c> attribute. /// </summary> /// <param name="val">A Codeset object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "Describes the OtherCode element content as either a /// state/province code, a local code, other code, or text string."</para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void SetCodeset( Codeset val ) { SetField( CommonDTD.OTHERCODE_CODESET, val ); }
/// <summary> /// Sets the value of the <c>Codeset</c> attribute. /// </summary> /// <param name="val">A Codeset object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "Describes the OtherCode element content as either a /// state/province code, a local code, other code, or text string."</para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void SetCodeset(Codeset val) { SetField(CommonDTD.OTHERCODE_CODESET, val); }