System.Security.Policy.ApplicationTrustCollection.AddRange Method

Copies the elements of the specified System.Security.Policy.ApplicationTrust array to the end of the collection.

Syntax

public void AddRange (ApplicationTrust[] trusts)

Parameters

trusts
An array of type System.Security.Policy.ApplicationTrust containing the objects to add to the collection.

Remarks

The System.Security.Policy.ApplicationTrust objects contained in the trusts array are appended to the end of the collection.

To remove a range of application trusts that you previously added, use the erload:System.Security.Policy.ApplicationTrustCollection.RemoveRange method.

Requirements

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