KeyContainerPermissionAccessEntryCollection.Remove Method (KeyContainerPermissionAccessEntry)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Removes the specified KeyContainerPermissionAccessEntry object from thecollection.

Namespace:   System.Security.Permissions
Assembly:  mscorlib (in mscorlib.dll)

public void Remove(
	KeyContainerPermissionAccessEntry accessEntry

Exception Condition

accessEntry is null.

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 Clear method.

.NET Framework
Available since 2.0
Return to top