共用方式為


ReportParameterInfo 類別

封裝報表參數的相關資訊。

繼承階層架構

Object
  Microsoft.Reporting.WebForms.ReportParameterInfo

命名空間:  Microsoft.Reporting.WebForms
組件:  Microsoft.ReportViewer.WebForms (在 Microsoft.ReportViewer.WebForms.dll 中)

語法

'宣告
Public NotInheritable Class ReportParameterInfo
public sealed class ReportParameterInfo
public ref class ReportParameterInfo sealed
[<Sealed>]
type ReportParameterInfo =  class end
public final class ReportParameterInfo

ReportParameterInfo 類型會公開下列成員。

屬性

  名稱 描述
公用屬性 AllowBlank 指指出空字串是否為參數的有效值。唯讀。
公用屬性 AreDefaultValuesQueryBased 指出參數的預設值是不是以查詢為基礎。唯讀。
公用屬性 AreValidValuesQueryBased 指出參數的有效值是不是以查詢為基礎。唯讀。
公用屬性 DataType 取得參數的資料類型。唯讀。
公用屬性 Dependencies 取得其值用來擷取查詢中其他參數值的參數清單。唯讀。
公用屬性 Dependents 利用這個參數的值做為查詢參數來擷取 ValidValues 及/或 DefaultValues 的參數清單。
公用屬性 ErrorMessage 取得當參數驗證失敗時傳回的錯誤訊息。唯讀。
公用屬性 IsQueryParameter 指出是否在對於外部資料來源的查詢中使用參數。唯讀。
公用屬性 MultiValue 指出參數是否可為多重值參數。唯讀。
公用屬性 Name 取得參數的名稱。唯讀。
公用屬性 Nullable 指出參數值是否可為 nullnull 參考 (即 Visual Basic 中的 Nothing)。唯讀。
公用屬性 Prompt 提示使用者提供參數值的文字。
公用屬性 PromptUser 指出是否提示使用者輸入參數的值。
公用屬性 State 描述參數的狀態。唯讀。
公用屬性 ValidValues 取得參數可用的有效值。唯讀。
公用屬性 Values 取得參數的值。
公用屬性 Visible 決定參數是否能顯示在使用者介面中。

回頁首

方法

  名稱 描述
公用方法 Equals 判斷指定的物件是否等於目前的物件。 (繼承自 Object)。
公用方法 GetHashCode 做為預設雜湊函式。 (繼承自 Object)。
公用方法 GetType 取得目前實例 Type 的屬性。 (繼承自 Object)。
公用方法 ToString 傳回代表目前物件的字串。 (繼承自 Object)。

回頁首

執行緒安全

這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。

請參閱

參考

Microsoft.Reporting.WebForms 命名空間