System.Security.Permissions.KeyContainerPermissionAccessEntryCollection.Remove Method

Removes the specified System.Security.Permissions.KeyContainerPermissionAccessEntry object from thecollection.

Syntax

public void Remove (KeyContainerPermissionAccessEntry accessEntry)

Parameters

accessEntry
The System.Security.Permissions.KeyContainerPermissionAccessEntry object to remove.

Remarks

When you remove an item from the collection, the index values change for subsequent items in the collection. All information about the removed item is deleted. Use this method when you want to remove a specific item by specifying the actual item to remove. To remove all items from the list, use the KeyContainerPermissionAccessEntryCollection.Clear method.

Requirements

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