Partager via


Classe Subreport

Represents an object model subreport.

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.ReportingServices.RdlObjectModel
Assembly :  Microsoft.ReportingServices.Designer.Controls (en Microsoft.ReportingServices.Designer.Controls.dll)

Syntaxe

'Déclaration
Public Class Subreport _
    Inherits ReportItem
'Utilisation
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

Le type Subreport expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique Subreport Creates a new instance of the Subreport class.

Haut de la page

Propriétés

  Nom Description
Propriété publique ActionInfo Gets or sets the actions that are associated with the ReportItem. (hérité de ReportItem.)
Propriété publique AllowInHeaderFooter Infrastructure. Gets a value that indicates whether the subreport is allowed in header or footer. (remplace ReportItem.AllowInHeaderFooter.)
Propriété publique Bookmark Gets or sets a bookmark that can be linked to by using a Bookmark action. (hérité de ReportItem.)
Propriété publique ComponentMetadata Gets or sets the component metadata. (hérité de ReportObject.)
Propriété publique ContainedReportItems Infrastructure. Gets or sets the sub-items contained in this report item. (hérité de ReportItem.)
Propriété publique CustomProperties Gets or sets the custom information to be handed to the report rendering component. (hérité de ReportItem.)
Propriété publique DataElementName Gets or sets the name to use for the data element/attribute for this report item. (hérité de ReportItem.)
Propriété publique DataElementOutput Gets or sets a value that indicates whether the item should appear in a data rendering. (hérité de ReportItem.)
Propriété publique 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. (hérité de ReportItem.)
Propriété publique DocumentMapLabelLocID Gets or sets the unique identifier for the DocumentMapLabel property. (hérité de ReportItem.)
Propriété publique Height Gets or sets the height of the item. (hérité de ReportItem.)
Propriété publique KeepTogether Gets or sets a value that indicates whether the entire subreport should be kept together in one page if possible.
Propriété publique Left Gets or sets the distance of the item from the left of the containing object. (hérité de ReportItem.)
Propriété publique 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.
Propriété publique Name Gets or sets the name of the report item. (hérité de ReportItem.)
Propriété publique NoRowsMessage Gets or sets the message that is displayed when the subreport contains no rows.
Propriété publique OmitBorderOnPageBreak Gets or sets a value that indicates whether borders should be removed wherever the subreport spans multiple pages.
Propriété publique Parameters Gets or sets the list of Parameters to the subreport.
Propriété publique Parent The parent of this report object. (hérité de ReportObjectBase.)
Propriété publique 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. (hérité de ReportItem.)
Propriété publique ReportName Gets or sets the name of the subreport.
Propriété publique Site Infrastructure. Gets or sets the site associated with the ReportObject object. (hérité de ReportObject.)
Propriété publique Style Gets the style properties of this report definition object. (hérité de ReportElement.)
Propriété publique ToolTip Gets or sets a textual label for the report item. Used for such things as rendering TITLE and ALT attributes in HTML reports. (hérité de ReportItem.)
Propriété publique ToolTipLocID Gets or sets the unique identifier for the ToolTip property. (hérité de ReportItem.)
Propriété publique Top Gets or sets the distance of the item from the top of the containing object. (hérité de ReportItem.)
Propriété publique Visibility Gets or sets the current visibility state of this report object. (hérité de ReportItem.)
Propriété publique Width Gets or sets the width of the item. Negative sizes allowed only for lines. (hérité de ReportItem.)
Propriété publique ZIndex Gets or sets the drawing order of the report item within the containing object. (hérité de ReportItem.)

Haut de la page

Méthodes

  Nom Description
Méthode publique DeepClone Returns a deep clone of this ReportObject instance. (hérité de ReportObject.)
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetContainingDataScopes Infrastructure. Returns the list of report object that contains data scopes. (hérité de ReportObject.)
Méthode protégée GetDataScopesForDefaultImpl Infrastructure. Returns the data scopes for default implementation. (hérité de ReportObject.)
Méthode protégée GetDependenciesCore Infrastructure. Returns the dependencies core for the ReportObject object. (hérité de ReportObject.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode publique Initialize Initializes an instance of the Subreport class. (remplace ReportItem.Initialize().)
Méthode protégée InitializeForDesigner Infrastructure. Initializes the properties of an instance of the ReportItem class for the designer. (hérité de ReportItem.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode protégée OnChildPropertyChanged Infrastructure. Raises an event when the property of the child was changed. (hérité de ReportObject.)
Méthode protégée OnPropertyChanged Infrastructure. Raises an event when the property was changed. (hérité de ReportObject.)
Méthode protégée RdlSemanticEqualsCore Infrastructure. Returns whether the report definition language semantic is the same with the core object. (hérité de ReportObject.)
Méthode protégée SavePropertyValue<T> Infrastructure. Saves the property value of the report object. (hérité de ReportObject.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Champs

  Nom Description
Champ publicMembre statique AllowTypeInHeaderFooter Infrastructure. Specifies whether the object model allows type in header or footer.

Haut de la page

Implémentations d'interfaces explicites

  Nom Description
Implémentation d'interface expliciteMéthode privée IDisposable.Dispose Infrastructure. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (hérité de ReportObject.)
Implémentation d'interface expliciteÉvénement privé IComponent.Disposed Infrastructure. Occurs when the ReportObject object is disposed. (hérité de ReportObject.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.ReportingServices.RdlObjectModel