ReportParameter 类

Contains information about a parameter to the report.

继承层次结构

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

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

语法

声明
Public Class ReportParameter _
    Inherits ReportObject _
    Implements INamedObject
用法
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

ReportParameter 类型公开以下成员。

构造函数

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

页首

属性

  名称 说明
公共属性 AllowBlank Indicates the value for this parameter is allowed to be the empty string.
公共属性 ComponentMetadata The component metadata. (从 ReportObject 继承。)
公共属性 DataType The data type of the parameter.
公共属性 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).
公共属性 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.).
公共属性 MultiValue Indicates this is a multivalue parameter (a parameter that can take a set of values).
公共属性 Name The report parameter name.
公共属性 Nullable Indicates the value for this parameter is allowed to be Null.
公共属性 Parent The parent of this report object. (从 ReportObjectBase 继承。)
公共属性 Prompt The user prompt to display when asking for parameter values
公共属性 PromptLocID The unique identifier for the Prompt property.
公共属性 Site 基础结构。 (从 ReportObject 继承。)
公共属性 UsedInQuery Indicates whether or not the parameter is used in a query in the report.
公共属性 ValidValues Possible values for the parameter (for the end-user UI)

页首

方法

  名称 说明
公共方法 DeepClone Returns a deep clone of this ReportObject instance. (从 ReportObject 继承。)
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetContainingDataScopes 基础结构。 (从 ReportObject 继承。)
受保护方法 GetDataScopesForDefaultImpl 基础结构。 (从 ReportObject 继承。)
受保护方法 GetDependenciesCore 基础结构。 (从 ReportObject 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 Initialize 基础结构。 (从 ReportObject 继承。)
受保护方法 InitializeForDesigner 基础结构。 (从 ReportObject 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
受保护方法 OnChildPropertyChanged 基础结构。 (从 ReportObject 继承。)
受保护方法 OnPropertyChanged 基础结构。 (从 ReportObject 继承。)
受保护方法 RdlSemanticEqualsCore 基础结构。 (覆盖 ReportObject.RdlSemanticEqualsCore(ReportObject, ICollection<ReportObject>)。)
受保护方法 SavePropertyValue<T> 基础结构。 (从 ReportObject 继承。)
公共方法 ToString (从 Object 继承。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 IDisposable.Dispose (从 ReportObject 继承。)
显式接口实现私有事件 IComponent.Disposed (从 ReportObject 继承。)

页首

线程安全

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