KeyContainerPermissionAccessEntryCollection.Add Method (KeyContainerPermissionAccessEntry)


Adds a KeyContainerPermissionAccessEntry object to the collection.

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

public int Add(
	KeyContainerPermissionAccessEntry accessEntry

Return Value

Type: System.Int32

The index at which the new element was inserted.

Exception Condition

accessEntry is null.

The KeyContainerPermissionAccessEntry object is added to the end of the collection.

.NET Framework
Available since 2.0
Return to top