共用方式為


ReportDataSourceCollection 類別

包含 ReportDataSource 物件的集合。

繼承階層

System.Object
  System.Collections.ObjectModel.Collection<ReportDataSource>
    Microsoft.Reporting.WebForms.SyncList<ReportDataSource>
      Microsoft.Reporting.WebForms.ReportDataSourceCollection

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

語法

'宣告
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public NotInheritable Class ReportDataSourceCollection _
    Inherits SyncList(Of ReportDataSource) _
    Implements ISerializable
'用途
Dim instance As ReportDataSourceCollection
[SerializableAttribute]
[ComVisibleAttribute(false)]
public sealed class ReportDataSourceCollection : SyncList<ReportDataSource>, 
    ISerializable
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class ReportDataSourceCollection sealed : public SyncList<ReportDataSource^>, 
    ISerializable
[<SealedAttribute>]
[<SerializableAttribute>]
[<ComVisibleAttribute(false)>]
type ReportDataSourceCollection =  
    class
        inherit SyncList<ReportDataSource>
        interface ISerializable
    end
public final class ReportDataSourceCollection extends SyncList<ReportDataSource> implements ISerializable

ReportDataSourceCollection 型別公開下列成員。

屬性

  名稱 說明
公用屬性 Count (繼承自 Collection<ReportDataSource>。)
公用屬性 Item[Int32] (繼承自 Collection<ReportDataSource>。)
公用屬性 Item[String] 從符合指定名稱的集合中傳回報表資料來源。
受保護的屬性 Items (繼承自 Collection<ReportDataSource>。)

上層

方法

  名稱 說明
公用方法 Add (繼承自 Collection<ReportDataSource>。)
公用方法 Clear (繼承自 Collection<ReportDataSource>。)
受保護的方法 ClearItems 基礎結構。 (繼承自 SyncList<TListType>。)
公用方法 Contains (繼承自 Collection<ReportDataSource>。)
公用方法 CopyTo (繼承自 Collection<ReportDataSource>。)
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetEnumerator (繼承自 Collection<ReportDataSource>。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
公用方法 IndexOf (繼承自 Collection<ReportDataSource>。)
公用方法 Insert (繼承自 Collection<ReportDataSource>。)
受保護的方法 InsertItem 基礎結構。 (繼承自 SyncList<TListType>。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 Remove (繼承自 Collection<ReportDataSource>。)
公用方法 RemoveAt (繼承自 Collection<ReportDataSource>。)
受保護的方法 RemoveItem 基礎結構。 (繼承自 SyncList<TListType>。)
受保護的方法 SetItem 基礎結構。 (繼承自 SyncList<TListType>。)
公用方法 ToString (繼承自 Object。)

上層

明確 繼承 實作

  名稱 說明
明確介面實作私用方法 ISerializable.GetObjectData 基礎結構。
明確介面實作私用方法 IList.Add (繼承自 Collection<ReportDataSource>。)
明確介面實作私用方法 IList.Contains (繼承自 Collection<ReportDataSource>。)
明確介面實作私用方法 ICollection.CopyTo (繼承自 Collection<ReportDataSource>。)
明確介面實作私用方法 IEnumerable.GetEnumerator (繼承自 Collection<ReportDataSource>。)
明確介面實作私用方法 IList.IndexOf (繼承自 Collection<ReportDataSource>。)
明確介面實作私用方法 IList.Insert (繼承自 Collection<ReportDataSource>。)
明確介面實作私用屬性 IList.IsFixedSize (繼承自 Collection<ReportDataSource>。)
明確介面實作私用屬性 ICollection<T>.IsReadOnly (繼承自 Collection<ReportDataSource>。)
明確介面實作私用屬性 IList.IsReadOnly (繼承自 Collection<ReportDataSource>。)
明確介面實作私用屬性 ICollection.IsSynchronized (繼承自 Collection<ReportDataSource>。)
明確介面實作私用屬性 IList.Item (繼承自 Collection<ReportDataSource>。)
明確介面實作私用方法 IList.Remove (繼承自 Collection<ReportDataSource>。)
明確介面實作私用屬性 ICollection.SyncRoot (繼承自 Collection<ReportDataSource>。)

上層

執行緒安全性

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

請參閱

參考

Microsoft.Reporting.WebForms 命名空間