Ejemplo n.º 1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">This attribute indicates the encoding of the format reference.</param>
 ///<param name="contentType">The vendor-defined content type (e.g. com.vendor.format, PDF, etc.</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;ReportFormat&amp;gt; element</param>
 ///
 public ReportFormat( ReportFormatType type, string contentType, string value )
     : base(ReportingDTD.REPORTFORMAT)
 {
     this.SetType( type );
     this.ContentType = contentType;
     this.Value = value;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A ReportFormatType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "This attribute indicates the encoding of the format reference."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetType( ReportFormatType val )
 {
     SetField( ReportingDTD.REPORTFORMAT_TYPE, val );
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">This attribute indicates the encoding of the format reference.</param>
 ///<param name="contentType">The vendor-defined content type (e.g. com.vendor.format, PDF, etc.</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;ReportFormat&amp;gt; element</param>
 ///
 public ReportFormat(ReportFormatType type, string contentType, string value) : base(ReportingDTD.REPORTFORMAT)
 {
     this.SetType(type);
     this.ContentType = contentType;
     this.Value       = value;
 }
Ejemplo n.º 4
0
 ///<summary>Adds the value of the <c>&lt;ReportFormat&gt;</c> element.</summary>
 /// <param name="Type">This attribute indicates the encoding of the format reference.</param>
 /// <param name="ContentType">The vendor-defined content type (e.g. com.vendor.format, PDF, etc.</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;ReportFormat&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setReportFormat</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddReportFormat</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void AddReportFormat(ReportFormatType Type, string ContentType, string Value)
 {
     AddChild(ReportingDTD.REPORTFORMATLIST_REPORTFORMAT, new ReportFormat(Type, ContentType, Value));
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A ReportFormatType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "This attribute indicates the encoding of the format reference."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetType(ReportFormatType val)
 {
     SetField(ReportingDTD.REPORTFORMAT_TYPE, val);
 }