System.Web.Configuration.CustomErrorCollection Members

The members of System.Web.Configuration.CustomErrorCollection are listed below.

See Also: Inherited members from System.Configuration.ConfigurationElementCollection

Public Constructors

Initializes a new instance of the System.Web.Configuration.CustomErrorCollection class.

Public Properties

[read-only]
AllKeysstring[].

Returns an array of the keys for all of the configuration elements contained in this System.Web.Configuration.CustomErrorCollection.

[read-only]
override
CollectionTypeSystem.Configuration.ConfigurationElementCollectionType.

The type of the System.Web.Configuration.CustomErrorCollection.

default property
Item(int)CustomError. Documentation for this section has not yet been entered.
[read-only]
default property
Item(string)CustomError. Documentation for this section has not yet been entered.

Protected Properties

[read-only]
override
ElementNamestring. Documentation for this section has not yet been entered.
[read-only]
override
PropertiesSystem.Configuration.ConfigurationPropertyCollection. Documentation for this section has not yet been entered.

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.