Partager via


Classe ReportParameter

Contains information about a parameter to the report.

Hiérarchie d'héritage

System.Object
  Microsoft.ReportingServices.RdlObjectModel.ReportObjectBase
    Microsoft.ReportingServices.RdlObjectModel.ReportObject
      Microsoft.ReportingServices.RdlObjectModel.ReportParameter

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

Syntaxe

'Déclaration
Public Class ReportParameter _
    Inherits ReportObject _
    Implements INamedObject
'Utilisation
Dim instance As ReportParameter
public class ReportParameter : ReportObject, 
    INamedObject
public ref class ReportParameter : public ReportObject, 
    INamedObject
type ReportParameter =  
    class 
        inherit ReportObject 
        interface INamedObject 
    end
public class ReportParameter extends ReportObject implements INamedObject

Le type ReportParameter expose les membres suivants.

Constructeurs

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

Haut de la page

Propriétés

  Nom Description
Propriété publique AllowBlank Gets or sets a value that indicates whether the value for this parameter is allowed to be the empty string.
Propriété publique ComponentMetadata Gets or sets the component metadata. (hérité de ReportObject.)
Propriété publique DataType Gets or sets the data type of the parameter.
Propriété publique DefaultValue Gets or sets the default value to use for the parameter (if not provided by the user). If no value is provided as a part of the definition or by the user, the value is null. Required if there is no Prompt and either Nullable is False or a ValidValues list is provided that does not contain Null (an omitted Value).
Propriété publique Hidden Gets or sets a value that indicates whether the parameter should not be displayed to the user (however, it will still be available for programmatic use with subreports, drillthrough reports etc.).
Propriété publique MultiValue Gets or sets a value that indicates whether this is a multivalue parameter (a parameter that can take a set of values).
Propriété publique Name Gets or sets the report parameter name.
Propriété publique Nullable Gets or sets a value that indicates whether the value for this parameter is allowed to be Null.
Propriété publique Parent The parent of this report object. (hérité de ReportObjectBase.)
Propriété publique Prompt Gest or sets the user prompt to display when asking for parameter values.
Propriété publique PromptLocID Infrastructure. Gets or sets the unique identifier for the Prompt property.
Propriété publique Site Infrastructure. Gets or sets the site associated with the ReportObject object. (hérité de ReportObject.)
Propriété publique UsedInQuery Gets or sets a value that indicates whether or not the parameter is used in a query in the report.
Propriété publique ValidValues Gets or sets the possible values for the parameter (for the end-user UI).

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 Infrastructure. Initializes an instance of ReportObject. (hérité de ReportObject.)
Méthode protégée InitializeForDesigner Infrastructure. Initializes the report object for designer. (hérité de ReportObject.)
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. Indicates whether the RDL semantic is equal to the core objects. (remplace ReportObject.RdlSemanticEqualsCore(ReportObject, ICollection<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

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