DataSourceCredentialsCollection 类

表示 DataSourceCredentials 对象的集合。

继承层次结构

System.Object
  System.Collections.ObjectModel.Collection<DataSourceCredentials>
    Microsoft.Reporting.WebForms.DataSourceCredentialsCollection

命名空间:  Microsoft.Reporting.WebForms
程序集:  Microsoft.ReportViewer.WebForms(在 Microsoft.ReportViewer.WebForms.dll 中)

语法

声明
Public NotInheritable Class DataSourceCredentialsCollection _
    Inherits Collection(Of DataSourceCredentials)
用法
Dim instance As DataSourceCredentialsCollection
public sealed class DataSourceCredentialsCollection : Collection<DataSourceCredentials>
public ref class DataSourceCredentialsCollection sealed : public Collection<DataSourceCredentials^>
[<SealedAttribute>]
type DataSourceCredentialsCollection =  
    class
        inherit Collection<DataSourceCredentials>
    end
public final class DataSourceCredentialsCollection extends Collection<DataSourceCredentials>

DataSourceCredentialsCollection 类型公开以下成员。

构造函数

  名称 说明
公共方法 DataSourceCredentialsCollection 初始化 DataSourceCredentialsCollection 类的新实例。

页首

属性

  名称 说明
公共属性 Count (从 Collection<DataSourceCredentials> 继承。)
公共属性 Item[Int32] (从 Collection<DataSourceCredentials> 继承。)
公共属性 Item[String] 从集合中获取指定名称的 DataSourceCredentials 对象。
受保护属性 Items (从 Collection<DataSourceCredentials> 继承。)

页首

方法

  名称 说明
公共方法 Add (从 Collection<DataSourceCredentials> 继承。)
公共方法 Clear (从 Collection<DataSourceCredentials> 继承。)
受保护方法 ClearItems (从 Collection<DataSourceCredentials> 继承。)
公共方法 Contains (从 Collection<DataSourceCredentials> 继承。)
公共方法 CopyTo (从 Collection<DataSourceCredentials> 继承。)
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetEnumerator (从 Collection<DataSourceCredentials> 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 IndexOf (从 Collection<DataSourceCredentials> 继承。)
公共方法 Insert (从 Collection<DataSourceCredentials> 继承。)
受保护方法 InsertItem (从 Collection<DataSourceCredentials> 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 Remove (从 Collection<DataSourceCredentials> 继承。)
公共方法 RemoveAt (从 Collection<DataSourceCredentials> 继承。)
受保护方法 RemoveItem (从 Collection<DataSourceCredentials> 继承。)
受保护方法 SetItem (从 Collection<DataSourceCredentials> 继承。)
公共方法 ToString (从 Object 继承。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 IList.Add (从 Collection<DataSourceCredentials> 继承。)
显式接口实现私有方法 IList.Contains (从 Collection<DataSourceCredentials> 继承。)
显式接口实现私有方法 ICollection.CopyTo (从 Collection<DataSourceCredentials> 继承。)
显式接口实现私有方法 IEnumerable.GetEnumerator (从 Collection<DataSourceCredentials> 继承。)
显式接口实现私有方法 IList.IndexOf (从 Collection<DataSourceCredentials> 继承。)
显式接口实现私有方法 IList.Insert (从 Collection<DataSourceCredentials> 继承。)
显式接口实现私有属性 IList.IsFixedSize (从 Collection<DataSourceCredentials> 继承。)
显式接口实现私有属性 ICollection<T>.IsReadOnly (从 Collection<DataSourceCredentials> 继承。)
显式接口实现私有属性 IList.IsReadOnly (从 Collection<DataSourceCredentials> 继承。)
显式接口实现私有属性 ICollection.IsSynchronized (从 Collection<DataSourceCredentials> 继承。)
显式接口实现私有属性 IList.Item (从 Collection<DataSourceCredentials> 继承。)
显式接口实现私有方法 IList.Remove (从 Collection<DataSourceCredentials> 继承。)
显式接口实现私有属性 ICollection.SyncRoot (从 Collection<DataSourceCredentials> 继承。)

页首

注释

此类由 ReportCredentialsEventArgs 中的 Credentials 属性引用。

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.Reporting.WebForms 命名空间