/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="sifRefObject">Type of SIF object Location points to.</param> ///<param name="value">Gets or sets the content value of the &lt;LocationRefId&gt; element</param> /// public LocationRefId( LocationRefIdObjectName sifRefObject, string value ) : base(DwDTD.LOCATIONREFID) { this.SetSIF_RefObject( sifRefObject ); this.Value = value; }
/// <summary> /// Sets the value of the <c>SIF_RefObject</c> attribute. /// </summary> /// <param name="val">A LocationRefIdObjectName object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "Type of SIF object Location points to."</para> /// <para>This attribute is known by more than one tag name depending on the version of SIF in use. /// The ADK will use the tag names shown below when parsing and rendering attributes of this kind.</para> /// <list type="table"><listheader><term>Version</term><description>Tag</description></listheader>; /// <item><term>2.0 (and greater)</term><description><SIF_RefObject></description></item> /// </list> /// <para>Version: 2.5</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetSIF_RefObject( LocationRefIdObjectName val ) { SetField( DwDTD.LOCATIONREFID_SIF_REFOBJECT, val ); }
///<summary>Sets the value of the <c><LocationRefId></c> element.</summary> /// <param name="SifRefObject">Type of SIF object Location points to.</param> /// <param name="Value">Gets or sets the content value of the &lt;LocationRefId&gt; element</param> ///<remarks> /// <para>This form of <c>setLocationRefId</c> is provided as a convenience method /// that is functionally equivalent to the <c>LocationRefId</c></para> /// <para>Version: 2.5</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetLocationRefId( LocationRefIdObjectName SifRefObject, string Value ) { RemoveChild( DwDTD.LOCATION_LOCATIONREFID); AddChild( DwDTD.LOCATION_LOCATIONREFID, new LocationRefId( SifRefObject, Value ) ); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="sifRefObject">Type of SIF object Location points to.</param> ///<param name="value">Gets or sets the content value of the &lt;LocationRefId&gt; element</param> /// public LocationRefId(LocationRefIdObjectName sifRefObject, string value) : base(DwDTD.LOCATIONREFID) { this.SetSIF_RefObject(sifRefObject); this.Value = value; }
/// <summary> /// Sets the value of the <c>SIF_RefObject</c> attribute. /// </summary> /// <param name="val">A LocationRefIdObjectName object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "Type of SIF object Location points to."</para> /// <para>This attribute is known by more than one tag name depending on the version of SIF in use. /// The ADK will use the tag names shown below when parsing and rendering attributes of this kind.</para> /// <list type="table"><listheader><term>Version</term><description>Tag</description></listheader>; /// <item><term>2.0 (and greater)</term><description><SIF_RefObject></description></item> /// </list> /// <para>Version: 2.6</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetSIF_RefObject(LocationRefIdObjectName val) { SetField(DwDTD.LOCATIONREFID_SIF_REFOBJECT, val); }
///<summary>Sets the value of the <c><LocationRefId></c> element.</summary> /// <param name="SifRefObject">Type of SIF object Location points to.</param> /// <param name="Value">Gets or sets the content value of the &lt;LocationRefId&gt; element</param> ///<remarks> /// <para>This form of <c>setLocationRefId</c> is provided as a convenience method /// that is functionally equivalent to the <c>LocationRefId</c></para> /// <para>Version: 2.6</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetLocationRefId(LocationRefIdObjectName SifRefObject, string Value) { RemoveChild(DwDTD.LOCATION_LOCATIONREFID); AddChild(DwDTD.LOCATION_LOCATIONREFID, new LocationRefId(SifRefObject, Value)); }