/// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">This attribute indicates the source of the report definition.</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;ReportDefinitionSource&amp;gt; element</param>
 ///
 public ReportDefinitionSource(ReportDefinitionSourceType type, string value) : base(ReportingDTD.REPORTDEFINITIONSOURCE)
 {
     this.SetType(type);
     this.Value = value;
 }
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A ReportDefinitionSourceType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "This attribute indicates the source of the report definition."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetType(ReportDefinitionSourceType val)
 {
     SetField(ReportingDTD.REPORTDEFINITIONSOURCE_TYPE, val);
 }
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">This attribute indicates the source of the report definition.</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;ReportDefinitionSource&amp;gt; element</param>
 ///
 public ReportDefinitionSource( ReportDefinitionSourceType type, string value )
     : base(ReportingDTD.REPORTDEFINITIONSOURCE)
 {
     this.SetType( type );
     this.Value = value;
 }
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A ReportDefinitionSourceType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "This attribute indicates the source of the report definition."</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetType( ReportDefinitionSourceType val )
 {
     SetField( ReportingDTD.REPORTDEFINITIONSOURCE_TYPE, val );
 }
예제 #5
0
 ///<summary>Sets the value of the <c>&lt;ReportDefinitionSource&gt;</c> element.</summary>
 /// <param name="Type">This attribute indicates the source of the report definition.</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;ReportDefinitionSource&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setReportDefinitionSource</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>ReportDefinitionSource</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetReportDefinitionSource(ReportDefinitionSourceType Type, string Value)
 {
     RemoveChild(ReportingDTD.REPORTMANIFEST_REPORTDEFINITIONSOURCE);
     AddChild(ReportingDTD.REPORTMANIFEST_REPORTDEFINITIONSOURCE, new ReportDefinitionSource(Type, Value));
 }
예제 #6
0
 ///<summary>Sets the value of the <c>&lt;ReportDefinitionSource&gt;</c> element.</summary>
 /// <param name="Type">This attribute indicates the source of the report definition.</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;ReportDefinitionSource&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setReportDefinitionSource</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>ReportDefinitionSource</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetReportDefinitionSource( ReportDefinitionSourceType Type, string Value )
 {
     RemoveChild( ReportingDTD.REPORTMANIFEST_REPORTDEFINITIONSOURCE);
     AddChild( ReportingDTD.REPORTMANIFEST_REPORTDEFINITIONSOURCE, new ReportDefinitionSource( Type, Value ) );
 }