共用方式為


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 命名空間