/// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">A Code</param>
 ///
 public ResourceUsageContentType( AUCodeSetsResourceUsageContentTypeType code )
     : base(SchoolDTD.RESOURCEUSAGECONTENTTYPE)
 {
     this.SetCode( code );
 }
Ejemplo n.º 2
0
 ///<summary>Sets the value of the <c>&lt;ResourceUsageContentType&gt;</c> element.</summary>
 /// <param name="Code">A Code</param>
 ///<remarks>
 /// <para>This form of <c>setResourceUsageContentType</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>ResourceUsageContentType</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.5</para>
 /// </remarks>
 public void SetResourceUsageContentType( AUCodeSetsResourceUsageContentTypeType Code )
 {
     RemoveChild( SchoolDTD.RESOURCEUSAGE_RESOURCEUSAGECONTENTTYPE);
     AddChild( SchoolDTD.RESOURCEUSAGE_RESOURCEUSAGECONTENTTYPE, new ResourceUsageContentType( Code ) );
 }
 /// <summary>
 /// Sets the value of the <c>&lt;Code&gt;</c> element.
 /// </summary>
 /// <param name="val">A AUCodeSetsResourceUsageContentTypeType object</param>
 /// <remarks>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.5</para>
 /// </remarks>
 public void SetCode( AUCodeSetsResourceUsageContentTypeType val )
 {
     SetField( SchoolDTD.RESOURCEUSAGECONTENTTYPE_CODE, val );
 }