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 Indicates the value for this parameter is allowed to be the empty string.
Propriété publique ComponentMetadata The component metadata. (hérité de ReportObject.)
Propriété publique DataType The data type of the parameter.
Propriété publique DefaultValue 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 Indicates 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 Indicates this is a multivalue parameter (a parameter that can take a set of values).
Propriété publique Name The report parameter name.
Propriété publique Nullable Indicates 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 The user prompt to display when asking for parameter values
Propriété publique PromptLocID The unique identifier for the Prompt property.
Propriété publique Site Infrastructure. (hérité de ReportObject.)
Propriété publique UsedInQuery Indicates whether or not the parameter is used in a query in the report.
Propriété publique ValidValues 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. (hérité de ReportObject.)
Méthode protégée GetDataScopesForDefaultImpl Infrastructure. (hérité de ReportObject.)
Méthode protégée GetDependenciesCore Infrastructure. (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. (hérité de ReportObject.)
Méthode protégée InitializeForDesigner Infrastructure. (hérité de ReportObject.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode protégée OnChildPropertyChanged Infrastructure. (hérité de ReportObject.)
Méthode protégée OnPropertyChanged Infrastructure. (hérité de ReportObject.)
Méthode protégée RdlSemanticEqualsCore Infrastructure. (remplace ReportObject. . :: . .RdlSemanticEqualsCore(ReportObject, ICollection< (Of < <' (ReportObject> ) > > )).)
Méthode protégée SavePropertyValue< (Of < <' (T> ) > > ) Infrastructure. (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 (hérité de ReportObject.)
Implémentation d'interface expliciteÉvénement privé IComponent. . :: . .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.