HttpStaticObjectsCollection Class
TOC
Collapse the table of content
Expand the table of content

HttpStaticObjectsCollection Class

 

Provides a collection of application-scoped objects for the StaticObjects property.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

System.Object
  System.Web.HttpStaticObjectsCollection

public sealed class HttpStaticObjectsCollection : ICollection, 
	IEnumerable

NameDescription
System_CAPS_pubmethodHttpStaticObjectsCollection()

Initializes a new instance of the HttpStaticObjectsCollection class.

NameDescription
System_CAPS_pubpropertyCount

Gets the number of objects in the collection.

System_CAPS_pubpropertyIsReadOnly

Gets a value indicating whether the collection is read-only.

System_CAPS_pubpropertyIsSynchronized

Gets a value indicating whether the collection is synchronized (that is, thread-safe).

System_CAPS_pubpropertyItem[String]

Gets the object with the specified name from the collection.

System_CAPS_pubpropertyNeverAccessed

Gets a Boolean value indicating whether the collection has been accessed before.

System_CAPS_pubpropertySyncRoot

Gets an object that can be used to synchronize access to the collection.

NameDescription
System_CAPS_pubmethodCopyTo(Array, Int32)

Copies members of an HttpStaticObjectsCollection into an array.

System_CAPS_pubmethodSystem_CAPS_staticDeserialize(BinaryReader)

Creates an HttpStaticObjectsCollection object from a binary file that was written by using the Serialize method.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Returns a dictionary enumerator used for iterating through the key-and-value pairs contained in the collection.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetObject(String)

Returns the object with the specified name from the collection. This property is an alternative to the this accessor.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodSerialize(BinaryWriter)

Writes the contents of the collection to a BinaryWriter object.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodCast<TResult>()

Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.)

System_CAPS_pubmethodOfType<TResult>()

Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.)

.NET Framework
Available since 1.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft