Пример #1
0
 ///<summary>Sets the value of the <c>&lt;TypeList&gt;</c> element.</summary>
 /// <param name="Type">A typification of the language. i.e. how is this language used?</param>
 ///<remarks>
 /// <para>This form of <c>setTypeList</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>TypeList</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetTypeList( LanguageUsageType Type )
 {
     RemoveChild( CommonDTD.LANGUAGE_TYPELIST);
     AddChild( CommonDTD.LANGUAGE_TYPELIST, new LanguageUsageList( Type ) );
 }
Пример #2
0
 ///<summary>Sets the value of the <c>&lt;TypeList&gt;</c> element.</summary>
 /// <param name="Type">A typification of the language. i.e. how is this language used?</param>
 ///<remarks>
 /// <para>This form of <c>setTypeList</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>TypeList</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetTypeList(LanguageUsageType Type)
 {
     RemoveChild(CommonDTD.LANGUAGE_TYPELIST);
     AddChild(CommonDTD.LANGUAGE_TYPELIST, new LanguageUsageList(Type));
 }