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
實作

建構函式

HttpStaticObjectsCollection()

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

屬性

Count

取得集合中的物件數目。

IsReadOnly

取得值,表示集合是否為唯讀。

IsSynchronized

取得值,指出集合是否已同步化 (亦即,安全執行緒)。

Item[String]

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

NeverAccessed

取得布林值,指出集合是否已存取過。

SyncRoot

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

方法

CopyTo(Array, Int32)

複製 HttpStaticObjectsCollection 的成員至陣列。

Deserialize(BinaryReader)

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

Equals(Object)

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

(繼承來源 Object)
GetEnumerator()

傳回字典列舉值,用以在包含於集合中的索引鍵數值配對中重複。

GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetObject(String)

以指定名稱從集合傳回物件。 這個屬性是 this 存取子 (Accessor) 的替代。

GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
Serialize(BinaryWriter)

將集合內容寫入 BinaryWriter 物件。

ToString()

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

(繼承來源 Object)

擴充方法

Cast<TResult>(IEnumerable)

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

OfType<TResult>(IEnumerable)

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

AsParallel(IEnumerable)

啟用查詢的平行化作業。

AsQueryable(IEnumerable)

IEnumerable 轉換成 IQueryable

適用於