System.Security.Policy.ApplicationTrustCollection.Clear Method

Removes all the application trusts from the collection.

Syntax

public void Clear ()

Remarks

Each System.Security.Policy.ApplicationTrust in the collection is identified by its ApplicationTrust.ApplicationIdentity property. If the value of the ApplicationTrust.ApplicationIdentity property for any System.Security.Policy.ApplicationTrust object in the collection is null, an ArgumentException is thrown.

Requirements

Namespace: System.Security.Policy
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0