System.Web.Configuration.TrustLevelCollection Members

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

See Also: Inherited members from System.Configuration.ConfigurationElementCollection

Public Constructors

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

Public Properties

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

Gets the type of the System.Web.Configuration.TrustLevelCollection object.

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

Protected Properties

[read-only]
override
ElementNamestring.

Gets the name that is used to identify the configuration element.

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

Public Methods

Add(TrustLevel)

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

Clear()

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

Get(int) : TrustLevel

Gets the System.Web.Configuration.TrustLevel object at the specified index.

Remove(TrustLevel)

Removes a System.Web.Configuration.TrustLevel object from the System.Web.Configuration.TrustLevelCollection object.

RemoveAt(int)

Removes a System.Web.Configuration.TrustLevel object at the specified index location from the System.Web.Configuration.TrustLevelCollection object.

Set(int, TrustLevel)

Adds the specified System.Web.Configuration.TrustLevel object to the System.Web.Configuration.TrustLevelCollection object at the specified index.

Protected Methods

override
CreateNewElement() : System.Configuration.ConfigurationElement

Creates a new System.Web.Configuration.TrustLevelCollection element.

override
GetElementKey(System.Configuration.ConfigurationElement) : object

Gets the element key for a specified System.Configuration.ConfigurationElement object.

override
IsElementName(string) : bool

Verifies that the specified name is allowed.