System.Web.Configuration.CustomErrorCollection: Method Members

The methods of System.Web.Configuration.CustomErrorCollection are listed below. For a list of all members, see the CustomErrorCollection Members list.

See Also: Inherited members from System.Configuration.ConfigurationElementCollection

Public Methods

Add(CustomError)

Adds a System.Web.Configuration.CustomError object to the collection.

Clear()

Removes all System.Web.Configuration.CustomError objects from the collection.

Get(int) : CustomError

Gets the System.Web.Configuration.CustomError object with the specified index.

Get(string) : CustomError

Gets the System.Web.Configuration.CustomError object with the specified status code.

GetKey(int) : string

Gets the System.Web.Configuration.CustomErrorCollection key at the specified index.

Remove(string)

Removes a System.Web.Configuration.CustomError object from the collection.

RemoveAt(int)

Removes a System.Web.Configuration.CustomError object at the specified index location from the collection.

Set(CustomError)

Adds the specified System.Web.Configuration.CustomError to the collection.

Protected Methods

override
CreateNewElement() : System.Configuration.ConfigurationElement
Documentation for this section has not yet been entered.
override
GetElementKey(System.Configuration.ConfigurationElement) : object
Documentation for this section has not yet been entered.