System.Security.Permissions.KeyContainerPermissionAccessEntryCollection.Add Method

Adds a System.Security.Permissions.KeyContainerPermissionAccessEntry object to the collection.

Syntax

public int Add (KeyContainerPermissionAccessEntry accessEntry)

Parameters

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

Returns

The index at which the new element was inserted.

Remarks

The System.Security.Permissions.KeyContainerPermissionAccessEntry object is added to the end of the collection.

Requirements

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