///<summary>Adds the value of the <c>&lt;OtherCode&gt;</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 &amp;lt;OtherCode&amp;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));
 }
Exemple #2
0
 /// <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 &amp;lt;OtherCode&amp;gt; element</param>
 ///
 public OtherCode( Codeset codeset, string value )
     : base(CommonDTD.OTHERCODE)
 {
     this.SetCodeset( codeset );
     this.Value = value;
 }
Exemple #3
0
 /// <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 &amp;lt;OtherCode&amp;gt; element</param>
 ///
 public OtherCode(Codeset codeset, string value) : base(CommonDTD.OTHERCODE)
 {
     this.SetCodeset(codeset);
     this.Value = value;
 }
Exemple #4
0
 /// <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 );
 }
Exemple #5
0
 /// <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);
 }