Serves as the base class for classes that provide a collection of application-scoped objects for the StaticObjects property.
Assembly: System.Web (in System.Web.dll)
Thetype exposes the following members.
|Count||When overridden in a derived class, gets the number of objects in the collection.|
|IsReadOnly||When overridden in a derived class, gets a value that indicates whether the collection is read-only.|
|IsSynchronized||When overridden in a derived class, gets a value that indicates whether the collection is thread-safe.|
|Item||When overridden in a derived class, gets the object that has the specified name from the collection.|
|NeverAccessed||When overridden in a derived class, gets a value that indicates whether the collection has been accessed.|
|SyncRoot||When overridden in a derived class, gets an object that can be used to synchronize access to the collection.|
|CopyTo||When overridden in a derived class, copies the elements of the collection to an array, starting at the specified index in the array.|
|Equals(Object)||Determines whether the specified object is equal to the current object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetEnumerator||When overridden in a derived class, returns an enumerator that can be used to iterate through the collection.|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetObject||When overridden in a derived class, returns the object that has the specified name from the collection.|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|Serialize||When overridden in a derived class, writes the contents of the collection to a BinaryWriter object.|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
|AsParallel||Enables parallelization of a query. (Defined by ParallelEnumerable.)|
|AsQueryable||Converts an IEnumerable to an IQueryable. (Defined by Queryable.)|
|Cast<TResult>||Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)|
|OfType<TResult>||Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)|
The class is an abstract class that contains the same members as the HttpStaticObjectsCollection class. The class lets you create derived classes that are like the HttpStaticObjectsCollection class, but that you can customize and that work outside the ASP.NET pipeline. When you perform unit testing, you typically use a derived class to implement members with customized behavior that fulfills the scenario you are testing.
The HttpStaticObjectsCollectionWrapper class derives from the class. The HttpStaticObjectsCollectionWrapper class serves as a wrapper for the HttpStaticObjectsCollection class. At run time, you typically use an instance of the HttpStaticObjectsCollectionWrapper class to call members of the HttpStaticObjectsCollection object.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.