System.Security.Policy.ApplicationTrustCollection.CopyTo Method

Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.

Syntax

public void CopyTo (ApplicationTrust[] array, int index)

Parameters

array
The one-dimensional array of type System.Security.Policy.ApplicationTrust that is the destination of the elements copied from the current collection.
index
The zero-based index in array at which copying begins.

Remarks

Note:

All the application trusts in the collection are copied into the array starting at the specified index location, overwriting any existing data within the range of objects copied into the array.

Requirements

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