共用方式為


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 Gets or sets a value that indicates whether the value for this parameter is allowed to be the empty string.
公用屬性 ComponentMetadata Gets or sets the component metadata. (繼承自 ReportObject。)
公用屬性 DataType Gets or sets the data type of the parameter.
公用屬性 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).
公用屬性 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.).
公用屬性 MultiValue Gets or sets a value that indicates whether this is a multivalue parameter (a parameter that can take a set of values).
公用屬性 Name Gets or sets the report parameter name.
公用屬性 Nullable Gets or sets a value that indicates whether the value for this parameter is allowed to be Null.
公用屬性 Parent The parent of this report object. (繼承自 ReportObjectBase。)
公用屬性 Prompt Gest or sets the user prompt to display when asking for parameter values.
公用屬性 PromptLocID 基礎結構。Gets or sets the unique identifier for the Prompt property.
公用屬性 Site 基礎結構。Gets or sets the site associated with the ReportObject object. (繼承自 ReportObject。)
公用屬性 UsedInQuery Gets or sets a value that indicates whether or not the parameter is used in a query in the report.
公用屬性 ValidValues Gets or sets the 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 基礎結構。Returns the list of report object that contains data scopes. (繼承自 ReportObject。)
受保護的方法 GetDataScopesForDefaultImpl 基礎結構。Returns the data scopes for default implementation. (繼承自 ReportObject。)
受保護的方法 GetDependenciesCore 基礎結構。Returns the dependencies core for the ReportObject object. (繼承自 ReportObject。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
公用方法 Initialize 基礎結構。Initializes an instance of ReportObject. (繼承自 ReportObject。)
受保護的方法 InitializeForDesigner 基礎結構。Initializes the report object for designer. (繼承自 ReportObject。)
受保護的方法 MemberwiseClone (繼承自 Object。)
受保護的方法 OnChildPropertyChanged 基礎結構。Raises an event when the property of the child was changed. (繼承自 ReportObject。)
受保護的方法 OnPropertyChanged 基礎結構。Raises an event when the property was changed. (繼承自 ReportObject。)
受保護的方法 RdlSemanticEqualsCore 基礎結構。Indicates whether the RDL semantic is equal to the core objects. (覆寫 ReportObject.RdlSemanticEqualsCore(ReportObject, ICollection<ReportObject>)。)
受保護的方法 SavePropertyValue<T> 基礎結構。Saves the property value of the report object. (繼承自 ReportObject。)
公用方法 ToString (繼承自 Object。)

上層

明確 繼承 實作

  名稱 說明
明確介面實作私用方法 IDisposable.Dispose 基礎結構。Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (繼承自 ReportObject。)
明確介面實作私用事件 IComponent.Disposed 基礎結構。Occurs when the ReportObject object is disposed. (繼承自 ReportObject。)

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.ReportingServices.RdlObjectModel 命名空間