/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="value">Gets or sets the content value of the &lt;WeaponType&gt; element</param> /// public WeaponType( WeaponTypeCode value ) : base(StudentDTD.WEAPONTYPE) { this.SetValue( value ); }
/// <summary> /// Sets the value of the <c><Value></c> element. /// </summary> /// <param name="val">A WeaponTypeCode object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this of the content as: "Gets or sets the content value of the &lt;WeaponType&gt; element"</para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void SetValue( WeaponTypeCode val ) { SetField( StudentDTD.WEAPONTYPE, val ); }
/// <summary> /// Sets the value of the <c><Value></c> element. /// </summary> /// <param name="val">A WeaponTypeCode object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this of the content as: "Gets or sets the content value of the &lt;WeaponType&gt; element"</para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void SetValue(WeaponTypeCode val) { SetField(StudentDTD.WEAPONTYPE, val); }
///<summary>Adds the value of the <c><WeaponType></c> element.</summary> /// <param name="Value">Gets or sets the content value of the &lt;WeaponType&gt; element</param> ///<remarks> /// <para>This form of <c>setWeaponType</c> is provided as a convenience method /// that is functionally equivalent to the method <c>AddWeaponType</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void AddWeaponType(WeaponTypeCode Value) { AddChild(StudentDTD.WEAPONTYPELIST_WEAPONTYPE, new WeaponType(Value)); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="value">Gets or sets the content value of the &lt;WeaponType&gt; element</param> /// public WeaponType(WeaponTypeCode value) : base(StudentDTD.WEAPONTYPE) { this.SetValue(value); }