KeyContainerPermissionAccessEntryCollection.Add Method

Definition

Adds a KeyContainerPermissionAccessEntry object to the collection.

public:
 int Add(System::Security::Permissions::KeyContainerPermissionAccessEntry ^ accessEntry);
public int Add (System.Security.Permissions.KeyContainerPermissionAccessEntry accessEntry);
member this.Add : System.Security.Permissions.KeyContainerPermissionAccessEntry -> int
Public Function Add (accessEntry As KeyContainerPermissionAccessEntry) As Integer

Parameters

Returns

The index at which the new element was inserted.

Exceptions

accessEntry is null.

Remarks

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

Applies to