HttpStaticObjectsCollection 類別

定義

提供一組適用於該屬性的應用範圍物件 StaticObjects 集合。

public ref class HttpStaticObjectsCollection sealed : System::Collections::ICollection
public sealed class HttpStaticObjectsCollection : System.Collections.ICollection
type HttpStaticObjectsCollection = class
    interface ICollection
    interface IEnumerable
Public NotInheritable Class HttpStaticObjectsCollection
Implements ICollection
繼承
HttpStaticObjectsCollection
實作

建構函式

名稱 Description
HttpStaticObjectsCollection()

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

屬性

名稱 Description
Count

取得集合中的物件數量。

IsReadOnly

會獲得一個值,表示該集合是否為唯讀。

IsSynchronized

會取得一個值,表示集合是否同步(即執行緒安全)。

Item[String]

從集合中取得指定名稱的物件。

NeverAccessed

會獲得一個布林值,表示該集合是否曾被存取過。

SyncRoot

取得對象,這個物件可用來同步存取集合。

方法

名稱 Description
CopyTo(Array, Int32)

將 的 HttpStaticObjectsCollection 成員複製到陣列中。

Deserialize(BinaryReader)

從使用該Serialize(BinaryWriter)方法撰寫的二進位檔案建立HttpStaticObjectsCollection物件。

Equals(Object)

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

(繼承來源 Object)
GetEnumerator()

回傳一個用於遍歷集合中鍵值對的字典列舉器。

GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetObject(String)

回傳集合中指定名稱的物件。 此性質是 accessor 的 this 替代方案。

GetType()

取得目前實例的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
Serialize(BinaryWriter)

將集合的內容寫入物件 BinaryWriter

ToString()

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

(繼承來源 Object)

擴充方法

名稱 Description
AsParallel(IEnumerable)

啟用查詢的平行處理。

AsQueryable(IEnumerable)

IEnumerable 轉換成 IQueryable

Cast<TResult>(IEnumerable)

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

OfType<TResult>(IEnumerable)

根據指定的型別篩選 IEnumerable 的專案。

適用於