KeyContainerPermissionAccessEntryCollection.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- accessEntry
- KeyContainerPermissionAccessEntry
The KeyContainerPermissionAccessEntry object to add.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.