SubReport Class

Represents a subreport.

Inheritance Hierarchy

System.Object
  Microsoft.ReportingServices.OnDemandReportRendering.ReportElement
    Microsoft.ReportingServices.OnDemandReportRendering.ReportItem
      Microsoft.ReportingServices.OnDemandReportRendering.SubReport

Namespace:  Microsoft.ReportingServices.OnDemandReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

Syntax

'Declaration
Public NotInheritable Class SubReport _
    Inherits ReportItem
'Usage
Dim instance As SubReport
public sealed class SubReport : ReportItem
public ref class SubReport sealed : public ReportItem
[<SealedAttribute>]
type SubReport =  
    class
        inherit ReportItem
    end
public final class SubReport extends ReportItem

The SubReport type exposes the following members.

Properties

  Name Description
Public property Bookmark Gets an expression that evaluates to a bookmark that can be linked to via a bookmark action. (Inherited from ReportItem.)
Public property CustomProperties Gets the custom information to be handed to the report rendering component. (Inherited from ReportItem.)
Public property DataElementName Gets the name to use for the data element/attribute for this report item. (Inherited from ReportItem.)
Public property DataElementOutput Gets a value that indicates whether the item should appear in a data rendering. (Inherited from ReportItem.)
Public property DefinitionPath Gets the path to this report definition object in the report definition. (Inherited from ReportItem.)
Public property DocumentMapLabel Gets an expression that evaluates to a label to identify an instance of a report item within the client UI (to provide a user-friendly label for searching). (Inherited from ReportItem.)
Public property Height Gets the height of the item. (Inherited from ReportItem.)
Public property ID Gets the unique identifier for this report definition object. (Inherited from ReportItem.)
Public property Instance Gets the report instance object that contains the calculated values of this report definition object. (Inherited from ReportItem.)
Public property KeepTogether Gets a Boolean value that indicates whether the entire subreport should be kept together in one page if possible.
Public property Left Gets the distance of the item from the left of the containing object. (Inherited from ReportItem.)
Public property LinkToChild Gets the index of the report item that should be linked to, using the document map, instead of the current item. (Inherited from ReportItem.)
Public property Name Gets the description. (Inherited from ReportItem.)
Public property NoRowsMessage Gets an expression that evaluates to the message that is displayed when the subreport contains no rows.
Public property OmitBorderOnPageBreak Gets a Boolean value that indicates whether borders should be removed wherever the subreport spans multiple pages.
Public property ParentDefinitionPath Gets the path to report definition object's parent in the report definition. (Inherited from ReportElement.)
Public property RepeatedSibling Gets a Boolean value that indicates whether this report item has a specified RepeatWith property. (Inherited from ReportItem.)
Public property RepeatWith Gets the name of a data region that this report item should be repeated with if that data region spans multiple pages. (Inherited from ReportItem.)
Public property Report Gets the full structure (definition and instance) of the subreport.
Public property ReportName Gets the name of the report within subreport.
Public property Style Gets the style properties of this report definition object. (Inherited from ReportItem.)
Public property ToolTip Gets an expression that evaluates to a textual label for the report item. Used for such things as rendering TITLE and ALT attributes in HTML reports. (Inherited from ReportItem.)
Public property Top Gets the distance of the item from the top of the containing object. (Inherited from ReportItem.)
Public property Visibility Gets the current visibility state of this report object. (Inherited from ReportItem.)
Public property Width Gets the width of the item. Negative sizes allowed only for lines. (Inherited from ReportItem.)
Public property ZIndex Gets the drawing order of the report item within the containing object. Items with lower indices should be drawn first (appearing behind items with higher indices). (Inherited from ReportItem.)

Top

Methods

  Name Description
Public method CreateCustomProperty Creates a new custom property and adds it to the custom properties collection of the report item. Used in custom report items. (Inherited from ReportItem.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Protected field m_bookmark Infrastructure. (Inherited from ReportItem.)
Protected field m_cachedHeight Infrastructure. (Inherited from ReportItem.)
Protected field m_cachedWidth Infrastructure. (Inherited from ReportItem.)
Protected field m_definitionPath Infrastructure. (Inherited from ReportItem.)
Protected field m_documentMapLabel Infrastructure. (Inherited from ReportItem.)
Protected field m_instance Infrastructure. (Inherited from ReportItem.)
Protected field m_inSubtotal Infrastructure. (Inherited from ReportItem.)
Protected field m_isListContentsRectangle Infrastructure. (Inherited from ReportItem.)
Protected field m_isOldSnapshot Infrastructure. (Inherited from ReportElement.)
Protected field m_parentDefinitionPath Infrastructure. (Inherited from ReportElement.)
Protected field m_startHidden Infrastructure. (Inherited from ReportItem.)
Protected field m_style Infrastructure. (Inherited from ReportElement.)
Protected field m_toolTip Infrastructure. (Inherited from ReportItem.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.