包含 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 类型公开以下成员。
属性
| 名称 | 说明 | |
|---|---|---|
| .gif) | Count | (从 Collection<ReportDataSource> 继承。) | 
| .gif) | Item[Int32] | (从 Collection<ReportDataSource> 继承。) | 
| .gif) | Item[String] | 从与指定名称匹配的集合返回报表数据源。 | 
| .gif) | Items | (从 Collection<ReportDataSource> 继承。) | 
页首
方法
| 名称 | 说明 | |
|---|---|---|
| .gif) | Add | (从 Collection<ReportDataSource> 继承。) | 
| .gif) | Clear | (从 Collection<ReportDataSource> 继承。) | 
| .gif) | ClearItems | 基础结构。 (从 SyncList<TListType> 继承。) | 
| .gif) | Contains | (从 Collection<ReportDataSource> 继承。) | 
| .gif) | CopyTo | (从 Collection<ReportDataSource> 继承。) | 
| .gif) | Equals | (从 Object 继承。) | 
| .gif) | Finalize | (从 Object 继承。) | 
| .gif) | GetEnumerator | (从 Collection<ReportDataSource> 继承。) | 
| .gif) | GetHashCode | (从 Object 继承。) | 
| .gif) | GetType | (从 Object 继承。) | 
| .gif) | IndexOf | (从 Collection<ReportDataSource> 继承。) | 
| .gif) | Insert | (从 Collection<ReportDataSource> 继承。) | 
| .gif) | InsertItem | 基础结构。 (从 SyncList<TListType> 继承。) | 
| .gif) | MemberwiseClone | (从 Object 继承。) | 
| .gif) | Remove | (从 Collection<ReportDataSource> 继承。) | 
| .gif) | RemoveAt | (从 Collection<ReportDataSource> 继承。) | 
| .gif) | RemoveItem | 基础结构。 (从 SyncList<TListType> 继承。) | 
| .gif) | SetItem | 基础结构。 (从 SyncList<TListType> 继承。) | 
| .gif) | ToString | (从 Object 继承。) | 
页首
显式接口实现
| 名称 | 说明 | |
|---|---|---|
| .gif) .gif) | ISerializable.GetObjectData | 基础结构。 | 
| .gif) .gif) | IList.Add | (从 Collection<ReportDataSource> 继承。) | 
| .gif) .gif) | IList.Contains | (从 Collection<ReportDataSource> 继承。) | 
| .gif) .gif) | ICollection.CopyTo | (从 Collection<ReportDataSource> 继承。) | 
| .gif) .gif) | IEnumerable.GetEnumerator | (从 Collection<ReportDataSource> 继承。) | 
| .gif) .gif) | IList.IndexOf | (从 Collection<ReportDataSource> 继承。) | 
| .gif) .gif) | IList.Insert | (从 Collection<ReportDataSource> 继承。) | 
| .gif) .gif) | IList.IsFixedSize | (从 Collection<ReportDataSource> 继承。) | 
| .gif) .gif) | ICollection<T>.IsReadOnly | (从 Collection<ReportDataSource> 继承。) | 
| .gif) .gif) | IList.IsReadOnly | (从 Collection<ReportDataSource> 继承。) | 
| .gif) .gif) | ICollection.IsSynchronized | (从 Collection<ReportDataSource> 继承。) | 
| .gif) .gif) | IList.Item | (从 Collection<ReportDataSource> 继承。) | 
| .gif) .gif) | IList.Remove | (从 Collection<ReportDataSource> 继承。) | 
| .gif) .gif) | ICollection.SyncRoot | (从 Collection<ReportDataSource> 继承。) | 
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。