System.Web.Configuration.TrustLevelCollection.Remove Method

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

Syntax

public void Remove (TrustLevel trustLevel)

Parameters

trustLevel
The System.Web.Configuration.TrustLevel to remove from the System.Web.Configuration.TrustLevelCollection.

Remarks

If the System.Web.Configuration.TrustLevel object does not exist in the local node collection, no error is raised.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0