Subreport 类

Represents an object model subreport.

继承层次结构

System.Object
  Microsoft.ReportingServices.RdlObjectModel.ReportObjectBase
    Microsoft.ReportingServices.RdlObjectModel.ReportObject
      Microsoft.ReportingServices.RdlObjectModel.ReportElement
        Microsoft.ReportingServices.RdlObjectModel.ReportItem
          Microsoft.ReportingServices.RdlObjectModel.Subreport

命名空间:  Microsoft.ReportingServices.RdlObjectModel
程序集:  Microsoft.ReportingServices.Designer.Controls(在 Microsoft.ReportingServices.Designer.Controls.dll 中)

语法

声明
Public Class Subreport _
    Inherits ReportItem
用法
Dim instance As Subreport
public class Subreport : ReportItem
public ref class Subreport : public ReportItem
type Subreport =  
    class 
        inherit ReportItem 
    end
public class Subreport extends ReportItem

Subreport 类型公开以下成员。

构造函数

  名称 说明
公共方法 Subreport Creates a new instance of the Subreport class.

页首

属性

  名称 说明
公共属性 ActionInfo Gets or sets the actions that are associated with the ReportItem. (从 ReportItem 继承。)
公共属性 AllowInHeaderFooter 基础结构。Gets a value that indicates whether the subreport is allowed in header or footer. (覆盖 ReportItem.AllowInHeaderFooter。)
公共属性 Bookmark Gets or sets a bookmark that can be linked to by using a Bookmark action. (从 ReportItem 继承。)
公共属性 ComponentMetadata Gets or sets the component metadata. (从 ReportObject 继承。)
公共属性 ContainedReportItems 基础结构。Gets or sets the sub-items contained in this report item. (从 ReportItem 继承。)
公共属性 CustomProperties Gets or sets the custom information to be handed to the report rendering component. (从 ReportItem 继承。)
公共属性 DataElementName Gets or sets the name to use for the data element/attribute for this report item. (从 ReportItem 继承。)
公共属性 DataElementOutput Gets or sets a value that indicates whether the item should appear in a data rendering. (从 ReportItem 继承。)
公共属性 DocumentMapLabel Gets or sets a label to identify an instance of a report item within the client UI, This provides a user-friendly label for searching. (从 ReportItem 继承。)
公共属性 DocumentMapLabelLocID Gets or sets the unique identifier for the DocumentMapLabel property. (从 ReportItem 继承。)
公共属性 Height Gets or sets the height of the item. (从 ReportItem 继承。)
公共属性 KeepTogether Gets or sets a value that indicates whether the entire subreport should be kept together in one page if possible.
公共属性 Left Gets or sets the distance of the item from the left of the containing object. (从 ReportItem 继承。)
公共属性 MergeTransactions Gets or sets a value that indicates whether the transactions in the subreport should be merged with transactions in the parent report if the data sources use the same connection.
公共属性 Name Gets or sets the name of the report item. (从 ReportItem 继承。)
公共属性 NoRowsMessage Gets or sets the message that is displayed when the subreport contains no rows.
公共属性 OmitBorderOnPageBreak Gets or sets a value that indicates whether borders should be removed wherever the subreport spans multiple pages.
公共属性 Parameters Gets or sets the list of Parameters to the subreport.
公共属性 Parent The parent of this report object. (从 ReportObjectBase 继承。)
公共属性 RepeatWith Gets or sets the name of a data region that this report item should be repeated with if that data region spans multiple pages. (从 ReportItem 继承。)
公共属性 ReportName Gets or sets the name of the subreport.
公共属性 Site 基础结构。Gets or sets the site associated with the ReportObject object. (从 ReportObject 继承。)
公共属性 Style Gets the style properties of this report definition object. (从 ReportElement 继承。)
公共属性 ToolTip Gets or sets a textual label for the report item. Used for such things as rendering TITLE and ALT attributes in HTML reports. (从 ReportItem 继承。)
公共属性 ToolTipLocID Gets or sets the unique identifier for the ToolTip property. (从 ReportItem 继承。)
公共属性 Top Gets or sets the distance of the item from the top of the containing object. (从 ReportItem 继承。)
公共属性 Visibility Gets or sets the current visibility state of this report object. (从 ReportItem 继承。)
公共属性 Width Gets or sets the width of the item. Negative sizes allowed only for lines. (从 ReportItem 继承。)
公共属性 ZIndex Gets or sets the drawing order of the report item within the containing object. (从 ReportItem 继承。)

页首

方法

  名称 说明
公共方法 DeepClone Returns a deep clone of this ReportObject instance. (从 ReportObject 继承。)
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetContainingDataScopes 基础结构。Returns the list of report object that contains data scopes. (从 ReportObject 继承。)
受保护方法 GetDataScopesForDefaultImpl 基础结构。Returns the data scopes for default implementation. (从 ReportObject 继承。)
受保护方法 GetDependenciesCore 基础结构。Returns the dependencies core for the ReportObject object. (从 ReportObject 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 Initialize Initializes an instance of the Subreport class. (覆盖 ReportItem.Initialize()。)
受保护方法 InitializeForDesigner 基础结构。Initializes the properties of an instance of the ReportItem class for the designer. (从 ReportItem 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
受保护方法 OnChildPropertyChanged 基础结构。Raises an event when the property of the child was changed. (从 ReportObject 继承。)
受保护方法 OnPropertyChanged 基础结构。Raises an event when the property was changed. (从 ReportObject 继承。)
受保护方法 RdlSemanticEqualsCore 基础结构。Returns whether the report definition language semantic is the same with the core object. (从 ReportObject 继承。)
受保护方法 SavePropertyValue<T> 基础结构。Saves the property value of the report object. (从 ReportObject 继承。)
公共方法 ToString (从 Object 继承。)

页首

字段

  名称 说明
公共字段静态成员 AllowTypeInHeaderFooter 基础结构。Specifies whether the object model allows type in header or footer.

页首

显式接口实现

  名称 说明
显式接口实现私有方法 IDisposable.Dispose 基础结构。Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (从 ReportObject 继承。)
显式接口实现私有事件 IComponent.Disposed 基础结构。Occurs when the ReportObject object is disposed. (从 ReportObject 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.ReportingServices.RdlObjectModel 命名空间