ReportParameter 類別

 

發行︰ 2016年4月

代表報表的參數。

命名空間:   Microsoft.Reporting.WinForms
組件:  Microsoft.ReportViewer.WinForms (於 Microsoft.ReportViewer.WinForms.dll)

繼承階層

System.Object
  Microsoft.Reporting.WinForms.ReportParameter

語法

[SerializableAttribute]
public sealed class ReportParameter
[SerializableAttribute]
public ref class ReportParameter sealed 
[<Sealed>]
[<SerializableAttribute>]
type ReportParameter = class end
<SerializableAttribute>
Public NotInheritable Class ReportParameter

建構函式

名稱 描述
System_CAPS_pubmethod ReportParameter()

具現化新的 ReportParameter

System_CAPS_pubmethod ReportParameter(String)

具現化含有名稱之新的 ReportParameter

System_CAPS_pubmethod ReportParameter(String, String)

具現化含有名稱和值之新的 ReportParameter

System_CAPS_pubmethod ReportParameter(String, String, Boolean)

具現化含有名稱、值和可見性旗標之新的 ReportParameter

System_CAPS_pubmethod ReportParameter(String, String[])

具現化含有名稱之新的多重值 ReportParameter

System_CAPS_pubmethod ReportParameter(String, String[], Boolean)

具現化含有名稱、多個值和可見性旗標之新的 ReportParameter

屬性

名稱 描述
System_CAPS_pubproperty Name

取得或設定參數的名稱。

System_CAPS_pubproperty Values

取得包含一個或多個參數值的 String 物件集合。

System_CAPS_pubproperty Visible

決定參數是否能顯示在使用者介面中。

方法

名稱 描述
System_CAPS_pubmethod Equals(Object)

(繼承自 Object。)

System_CAPS_pubmethod GetHashCode()

(繼承自 Object。)

System_CAPS_pubmethod GetType()

(繼承自 Object。)

System_CAPS_pubmethod ToString()

(繼承自 Object。)

執行緒安全

此類型的任何 public static (在 Visual Basic 中 共用 在 Visual Basic 中) 成員皆為安全執行緒。不保證任何執行個體成員為安全執行緒。

另請參閱

Microsoft.Reporting.WinForms 命名空間

回到頁首