///<summary>Adds the value of the <c><OtherId></c> element.</summary> /// <param name="Type">Code that defines the type of this other ID. Note: A subset of valid values may be specified in data objects.</param> /// <param name="Value">Gets or sets the content value of the &lt;OtherId&gt; element</param> ///<remarks> /// <para>This form of <c>setOtherId</c> is provided as a convenience method /// that is functionally equivalent to the method <c>AddOtherId</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void AddOtherId(OtherIdType Type, string Value) { AddChild(CommonDTD.OTHERIDLIST_OTHERID, new OtherId(Type, Value)); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="type">Code that defines the type of this other ID. Note: A subset of valid values may be specified in data objects.</param> ///<param name="value">Gets or sets the content value of the &lt;OtherId&gt; element</param> /// public OtherId( OtherIdType type, string value ) : base(CommonDTD.OTHERID) { this.SetType( type ); this.Value = value; }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="type">Code that defines the type of this other ID. Note: A subset of valid values may be specified in data objects.</param> ///<param name="value">Gets or sets the content value of the &lt;OtherId&gt; element</param> /// public OtherId(OtherIdType type, string value) : base(CommonDTD.OTHERID) { this.SetType(type); this.Value = value; }
/// <summary> /// Sets the value of the <c>Type</c> attribute. /// </summary> /// <param name="val">A OtherIdType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "Code that defines the type of this other ID. Note: A subset of valid values may be specified in data objects."</para> /// <para>Version: 2.5</para> /// <para>Since: 2.0</para> /// </remarks> public void SetType( OtherIdType val ) { SetField( CommonDTD.OTHERID_TYPE, val ); }
/// <summary> /// Sets the value of the <c>Type</c> attribute. /// </summary> /// <param name="val">A OtherIdType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "Code that defines the type of this other ID. Note: A subset of valid values may be specified in data objects."</para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void SetType(OtherIdType val) { SetField(CommonDTD.OTHERID_TYPE, val); }