TrustLevelCollection.Remove(TrustLevel) Method

Definition

Removes a TrustLevel object from the TrustLevelCollection object.

public:
 void Remove(System::Web::Configuration::TrustLevel ^ trustLevel);
public void Remove (System.Web.Configuration.TrustLevel trustLevel);
member this.Remove : System.Web.Configuration.TrustLevel -> unit
Public Sub Remove (trustLevel As TrustLevel)

Parameters

trustLevel
TrustLevel

The TrustLevel to remove from the TrustLevelCollection.

Remarks

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

Applies to