Пример #1
0
 ///<summary>Adds the value of the <c>&lt;ElectronicId&gt;</c> element.</summary>
 /// <param name="Type">Electronic ID type.</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;ElectronicId&amp;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));
 }
Пример #2
0
 /// <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 &amp;lt;ElectronicId&amp;gt; element</param>
 ///
 public ElectronicId(ElectronicIdType type, string value) : base(CommonDTD.ELECTRONICID)
 {
     this.SetType(type);
     this.Value = value;
 }
Пример #3
0
 /// <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 &amp;lt;ElectronicId&amp;gt; element</param>
 ///
 public ElectronicId( ElectronicIdType type, string value )
     : base(CommonDTD.ELECTRONICID)
 {
     this.SetType( type );
     this.Value = value;
 }
Пример #4
0
 /// <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);
 }
Пример #5
0
 /// <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 );
 }