ReportParameter 类

Represents a report parameter.

继承层次结构

System. . :: . .Object
  ReportExecution2005..::..ReportParameter

命名空间:  ReportExecution2005
程序集:  ReportExecution2005(在 ReportExecution2005.dll 中)

语法

声明
<SerializableAttribute> _
Public Class ReportParameter
用法
Dim instance As ReportParameter
[SerializableAttribute]
public class ReportParameter
[SerializableAttribute]
public ref class ReportParameter
[<SerializableAttribute>]
type ReportParameter =  class end
public class ReportParameter

ReportParameter 类型公开以下成员。

构造函数

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

页首

属性

  名称 说明
公共属性 AllowBlank Indicates whether an empty string is a valid value for the parameter. Read-only.
公共属性 AllowBlankSpecified Indicates that the AllowBlank property has been specified.
公共属性 DefaultValues Gets or sets the default values of the parameter.
公共属性 DefaultValuesQueryBased Indicates whether the default values of the parameter are based on a query. Boolean. Read-only.
公共属性 DefaultValuesQueryBasedSpecified Indicates whether the DefaultValuesQueryBased property has been specified.
公共属性 Dependencies Gets or sets a list of parameters whose values are used to retrieve additional parameter values in a query.
公共属性 ErrorMessage An error message, returned when the parameter has failed validation.
公共属性 MultiValue Indicates whether the parameter can be a multivalue parameter.
公共属性 MultiValueSpecified Indicates whether the MultiValue property has been specified.
公共属性 Name Gets or sets the name of the parameter.
公共属性 Nullable Indicates whether the value of the parameter can be nullNothingnullptrunitnull 引用(在 Visual Basic 中为 Nothing).
公共属性 NullableSpecified Indicates whether the Nullable property has been specified.
公共属性 Prompt Gets or sets the text that prompts the user to provide parameter values.
公共属性 PromptUser Indicates whether the user is prompted for the value of the parameter.
公共属性 PromptUserSpecified Indicates whether a value for the PromptUser property is specified.
公共属性 QueryParameter Indicates whether the parameter is used in a query to an external data source.
公共属性 QueryParameterSpecified Indicates whether the ReportParameter property has been specified.
公共属性 State Describes the state (ParameterStateEnum) of the parameter.
公共属性 StateSpecified Indicates whether the State property has been specified.
公共属性 Type The data type (ParameterTypeEnum) of the parameter.
公共属性 TypeSpecified Indicates whether the Type property has been specified.
公共属性 ValidValues The available valid values for the parameter. Read-only.
公共属性 ValidValuesQueryBased Indicates whether the parameter's valid values are based on a query. Read-only.
公共属性 ValidValuesQueryBasedSpecified Indicates whether the ValidValuesQueryBased property has been specified.

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

注释

A ReportParameter object is returned as output by the GetReportParameters method and is passed as input to the SetReportParameters method.

The value of the ReportParameter may change if the user calls SetReportDefinition.

线程安全

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