HttpStaticObjectsCollection Class
.NET Framework 4.5
Provides a collection of application-scoped objects for the StaticObjects property.
Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
The HttpStaticObjectsCollection type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | HttpStaticObjectsCollection | Initializes a new instance of the HttpStaticObjectsCollection class. |
| Name | Description | |
|---|---|---|
![]() | Count | Gets the number of objects in the collection. |
![]() | IsReadOnly | Gets a value indicating whether the collection is read-only. |
![]() | IsSynchronized | Gets a value indicating whether the collection is synchronized (that is, thread-safe). |
![]() | Item | Gets the object with the specified name from the collection. |
![]() | NeverAccessed | Gets a Boolean value indicating whether the collection has been accessed before. |
![]() | SyncRoot | Gets an object that can be used to synchronize access to the collection. |
| Name | Description | |
|---|---|---|
![]() | CopyTo | Copies members of an HttpStaticObjectsCollection into an array. |
![]() ![]() | Deserialize | Creates an HttpStaticObjectsCollection object from a binary file that was written by using the Serialize method. |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetEnumerator | Returns a dictionary enumerator used for iterating through the key-and-value pairs contained in the collection. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetObject | Returns the object with the specified name from the collection. This property is an alternative to the this accessor. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Serialize | Writes the contents of the collection to a BinaryWriter object. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | 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.) |
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.
