예제 #1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="value">Gets or sets the content value of the &amp;lt;LanguageUsageType&amp;gt; element</param>
 ///
 public LanguageUsageType( LanguageUsage value )
     : base(CommonDTD.LANGUAGEUSAGETYPE)
 {
     this.SetValue( value );
 }
예제 #2
0
 /// <summary>
 /// Sets the value of the <c>&lt;Value&gt;</c> element.
 /// </summary>
 /// <param name="val">A LanguageUsage object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this of the content as: "Gets or sets the content value of the &amp;lt;LanguageUsageType&amp;gt; element"</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetValue( LanguageUsage val )
 {
     SetField( CommonDTD.LANGUAGEUSAGETYPE, val );
 }
예제 #3
0
 /// <summary>
 /// Sets the value of the <c>&lt;Value&gt;</c> element.
 /// </summary>
 /// <param name="val">A LanguageUsage object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this of the content as: "Gets or sets the content value of the &amp;lt;LanguageUsageType&amp;gt; element"</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetValue(LanguageUsage val)
 {
     SetField(CommonDTD.LANGUAGEUSAGETYPE, val);
 }
예제 #4
0
 ///<summary>Adds the value of the <c>&lt;Type&gt;</c> element.</summary>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;LanguageUsageType&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setType</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddType</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void AddType(LanguageUsage Value)
 {
     AddChild(CommonDTD.LANGUAGEUSAGELIST_TYPE, new LanguageUsageType(Value));
 }
예제 #5
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="value">Gets or sets the content value of the &amp;lt;LanguageUsageType&amp;gt; element</param>
 ///
 public LanguageUsageType(LanguageUsage value) : base(CommonDTD.LANGUAGEUSAGETYPE)
 {
     this.SetValue(value);
 }