ReportParameterCollection 類別

 

發行︰ 2016年4月

表示 ReportParameter 物件的集合。

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

繼承階層

System.Object
  System.Collections.ObjectModel.Collection<T>
    Microsoft.Reporting.WinForms.ReportParameterCollection

語法

public sealed class ReportParameterCollection : Collection<ReportParameter>
public ref class ReportParameterCollection sealed : Collection<ReportParameter^>
[<Sealed>]
type ReportParameterCollection = 
    class
        inherit Collection<ReportParameter>
    end
Public NotInheritable Class ReportParameterCollection
    Inherits Collection(Of ReportParameter)

建構函式

名稱 描述
System_CAPS_pubmethod ReportParameterCollection()

初始化 ReportParameterCollection 類別的新執行個體。

屬性

名稱 描述
System_CAPS_pubproperty Count

(繼承自 Collection<T>。)

System_CAPS_pubproperty Item[Int32]

(繼承自 Collection<T>。)

System_CAPS_pubproperty Item[String]

依名稱取得集合中的 ReportParameter 物件。

方法

名稱 描述
System_CAPS_pubmethod Add(T)

(繼承自 Collection<T>。)

System_CAPS_pubmethod Clear()

(繼承自 Collection<T>。)

System_CAPS_pubmethod Contains(T)

(繼承自 Collection<T>。)

System_CAPS_pubmethod CopyTo(T[], Int32)

(繼承自 Collection<T>。)

System_CAPS_pubmethod Equals(Object)

(繼承自 Object。)

System_CAPS_pubmethod GetEnumerator()

(繼承自 Collection<T>。)

System_CAPS_pubmethod GetHashCode()

(繼承自 Object。)

System_CAPS_pubmethod GetType()

(繼承自 Object。)

System_CAPS_pubmethod IndexOf(T)

(繼承自 Collection<T>。)

System_CAPS_pubmethod Insert(Int32, T)

(繼承自 Collection<T>。)

System_CAPS_pubmethod Remove(T)

(繼承自 Collection<T>。)

System_CAPS_pubmethod RemoveAt(Int32)

(繼承自 Collection<T>。)

System_CAPS_pubmethod ToString()

(繼承自 Object。)

明確介面實作

名稱 描述
System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection.CopyTo(Array, Int32)

(繼承自 Collection<T>。)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IEnumerable.GetEnumerator()

(繼承自 Collection<T>。)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Add(Object)

(繼承自 Collection<T>。)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Contains(Object)

(繼承自 Collection<T>。)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.IndexOf(Object)

(繼承自 Collection<T>。)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Insert(Int32, Object)

(繼承自 Collection<T>。)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Remove(Object)

(繼承自 Collection<T>。)

註解

這個類別是由 ReportParametersEventArgs 中的 Parameters 屬性所參考。

執行緒安全

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

另請參閱

Microsoft.Reporting.WinForms 命名空間

回到頁首