OutputCacheProviderCollection 類別

定義

代表針對網站設定的輸出快取區提供者集合。

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

備註

已設定輸出快取提供者的集合不包含記憶體內部輸出快取 ASP.NET 的預設提供者。

建構函式

OutputCacheProviderCollection()

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

屬性

Count

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

(繼承來源 ProviderCollection)
IsSynchronized

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

(繼承來源 ProviderCollection)
Item[String]

傳回集合中具名輸出快取區提供者的參考。

SyncRoot

取得目前的物件。

(繼承來源 ProviderCollection)

方法

Add(ProviderBase)

將提供者插入輸出快取區提供者集合中。

Clear()

移除集合的所有項目。

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

輸出快取區提供者複製到相容的一維陣列中指定的索引處。

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

適用於