///<summary>Adds the value of the <c><ElectronicId></c> element.</summary> /// <param name="Type">Electronic ID type.</param> /// <param name="Value">Gets or sets the content value of the &lt;ElectronicId&gt; element</param> ///<remarks> /// <para>This form of <c>setElectronicId</c> is provided as a convenience method /// that is functionally equivalent to the method <c>AddElectronicId</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.3</para> /// </remarks> public void AddElectronicId(ElectronicIdType Type, string Value) { AddChild(CommonDTD.ELECTRONICIDLIST_ELECTRONICID, new ElectronicId(Type, Value)); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="type">Electronic ID type.</param> ///<param name="value">Gets or sets the content value of the &lt;ElectronicId&gt; element</param> /// public ElectronicId(ElectronicIdType type, string value) : base(CommonDTD.ELECTRONICID) { this.SetType(type); this.Value = value; }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="type">Electronic ID type.</param> ///<param name="value">Gets or sets the content value of the &lt;ElectronicId&gt; element</param> /// public ElectronicId( ElectronicIdType type, string value ) : base(CommonDTD.ELECTRONICID) { this.SetType( type ); this.Value = value; }
/// <summary> /// Sets the value of the <c>Type</c> attribute. /// </summary> /// <param name="val">A ElectronicIdType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "Electronic ID type."</para> /// <para>Version: 2.6</para> /// <para>Since: 2.3</para> /// </remarks> public void SetType(ElectronicIdType val) { SetField(CommonDTD.ELECTRONICID_TYPE, val); }
/// <summary> /// Sets the value of the <c>Type</c> attribute. /// </summary> /// <param name="val">A ElectronicIdType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "Electronic ID type."</para> /// <para>Version: 2.6</para> /// <para>Since: 2.3</para> /// </remarks> public void SetType( ElectronicIdType val ) { SetField( CommonDTD.ELECTRONICID_TYPE, val ); }