ReportDataSourceCollection 類別

 

發行︰ 2016年4月

包含 ReportDataSource 物件的集合。

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

繼承階層

System.Object
  System.Collections.ObjectModel.Collection<T>
    Microsoft.Reporting.WinForms.SyncList<TListType>
      Microsoft.Reporting.WinForms.ReportDataSourceCollection

語法

[SerializableAttribute]
[ComVisibleAttribute(false)]
public sealed class ReportDataSourceCollection : SyncList<ReportDataSource>, 
    ISerializable
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class ReportDataSourceCollection sealed : SyncList<ReportDataSource^>, 
    ISerializable
[<Sealed>]
[<SerializableAttribute>]
[<ComVisibleAttribute(false)>]
type ReportDataSourceCollection = 
    class
        inherit SyncList<ReportDataSource>
        interface ISerializable
    end
<SerializableAttribute>
<ComVisibleAttribute(False)>
Public NotInheritable Class ReportDataSourceCollection
    Inherits SyncList(Of ReportDataSource)
    Implements ISerializable

屬性

名稱 描述
System_CAPS_pubproperty Count

(繼承自 Collection<T>。)

System_CAPS_pubproperty Item[Int32]

(繼承自 Collection<T>。)

System_CAPS_pubproperty Item[String]

從符合指定名稱的集合中傳回報表資料來源。

方法

名稱 描述
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>。)

System_CAPS_pubinterfaceSystem_CAPS_privmethod ISerializable.GetObjectData(SerializationInfo, StreamingContext)

此 API 支援 產品 基礎結構,而且不適合直接從程式碼使用。

執行緒安全

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

另請參閱

Microsoft.Reporting.WinForms 命名空間

回到頁首