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)
建構函式
名稱 | 描述 | |
---|---|---|
ReportParameterCollection() | 初始化 ReportParameterCollection 類別的新執行個體。 |
屬性
名稱 | 描述 | |
---|---|---|
Count | (繼承自 Collection<T>。) |
|
Item[Int32] | (繼承自 Collection<T>。) |
|
Item[String] | 依名稱取得集合中的 ReportParameter 物件。 |
方法
名稱 | 描述 | |
---|---|---|
Add(T) | (繼承自 Collection<T>。) |
|
Clear() | (繼承自 Collection<T>。) |
|
Contains(T) | (繼承自 Collection<T>。) |
|
CopyTo(T[], Int32) | (繼承自 Collection<T>。) |
|
Equals(Object) | (繼承自 Object。) |
|
GetEnumerator() | (繼承自 Collection<T>。) |
|
GetHashCode() | (繼承自 Object。) |
|
GetType() | (繼承自 Object。) |
|
IndexOf(T) | (繼承自 Collection<T>。) |
|
Insert(Int32, T) | (繼承自 Collection<T>。) |
|
Remove(T) | (繼承自 Collection<T>。) |
|
RemoveAt(Int32) | (繼承自 Collection<T>。) |
|
ToString() | (繼承自 Object。) |
明確介面實作
名稱 | 描述 | |
---|---|---|
ICollection.CopyTo(Array, Int32) | (繼承自 Collection<T>。) |
|
IEnumerable.GetEnumerator() | (繼承自 Collection<T>。) |
|
IList.Add(Object) | (繼承自 Collection<T>。) |
|
IList.Contains(Object) | (繼承自 Collection<T>。) |
|
IList.IndexOf(Object) | (繼承自 Collection<T>。) |
|
IList.Insert(Int32, Object) | (繼承自 Collection<T>。) |
|
IList.Remove(Object) | (繼承自 Collection<T>。) |
註解
這個類別是由 ReportParametersEventArgs 中的 Parameters 屬性所參考。
執行緒安全
此類型的任何 public static (在 Visual Basic 中 共用 在 Visual Basic 中) 成員皆為安全執行緒。不保證任何執行個體成員為安全執行緒。
另請參閱
Microsoft.Reporting.WinForms 命名空間
回到頁首