This documentation is archived and is not being maintained.

HttpStaticObjectsCollection Members

HttpStaticObjectsCollection overview

Public Constructors

public constructorHttpStaticObjectsCollection Constructor Initializes a new instance of the HttpStaticObjectsCollection class.

Public Properties

public propertyCount Gets the number of objects in the collection.
public propertyIsReadOnly Gets a value indicating whether the collection is read-only.
public propertyIsSynchronized Gets a value indicating whether the collection is synchronized (that is, thread-safe).
public propertyItem Gets the object with the specified name from the collection.

In C#, this property is the indexer for the HttpStaticObjectsCollection class.

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

Public Methods

public methodCopyTo Copies members of an HttpStaticObjectsCollection into an array.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetEnumerator Returns a dictionary enumerator used for iterating through the key-and-value pairs contained in the collection.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetObject Returns the object with the specified name from the collection. This property is an alternative to the this accessor.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

HttpStaticObjectsCollection Class | System.Web Namespace

Show: