System.Web.Configuration.TrustLevelCollection: Method Members

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

See Also: Inherited members from System.Configuration.ConfigurationElementCollection

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.