共用方式為


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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。