ConfigurationBuilderCollection 類別

定義

依名稱維護 ConfigurationBuilder 物件的集合。

public ref class ConfigurationBuilderCollection : System::Configuration::Provider::ProviderCollection
public class ConfigurationBuilderCollection : System.Configuration.Provider.ProviderCollection
type ConfigurationBuilderCollection = class
    inherit ProviderCollection
Public Class ConfigurationBuilderCollection
Inherits ProviderCollection
繼承
ConfigurationBuilderCollection

建構函式

ConfigurationBuilderCollection()

初始化 ConfigurationBuilderCollection 類別的新執行個體。

屬性

Count

取得集合中的提供者數目。

(繼承來源 ProviderCollection)
IsSynchronized

取得值,表示是否同步化存取集合 (執行緒安全)。

(繼承來源 ProviderCollection)
Item[String]

ConfigurationBuilderCollection 取得 ConfigurationBuilder 物件,前者以所提供的名稱設定。

SyncRoot

取得目前的物件。

(繼承來源 ProviderCollection)

方法

Add(ProviderBase)

ConfigurationBuilder 物件新增至 ConfigurationBuilderCollection 物件。

Clear()

移除集合的所有項目。

(繼承來源 ProviderCollection)
CopyTo(ProviderBase[], Int32)

從指定之索引處開始,將集合的內容複製到指定的陣列。

(繼承來源 ProviderCollection)
Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetEnumerator()

傳回實作 IEnumerator 介面以逐一查看集合的物件。

(繼承來源 ProviderCollection)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
Remove(String)

從集合移除提供者。

(繼承來源 ProviderCollection)
SetReadOnly()

將集合設定為唯讀。

(繼承來源 ProviderCollection)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

明確介面實作

ICollection.CopyTo(Array, Int32)

從特定的陣列索引開始,將 ProviderCollection 的項目複製到陣列中。

(繼承來源 ProviderCollection)

擴充方法

Cast<TResult>(IEnumerable)

IEnumerable 的項目轉換成指定的型別。

OfType<TResult>(IEnumerable)

根據指定的型別來篩選 IEnumerable 的項目。

AsParallel(IEnumerable)

啟用查詢的平行化作業。

AsQueryable(IEnumerable)

IEnumerable 轉換成 IQueryable

適用於