Gets the index in the collection of the specified System.Security.Permissions.KeyContainerPermissionAccessEntry object, if it exists in the collection.
- accessEntry
- The System.Security.Permissions.KeyContainerPermissionAccessEntry object to locate.
The index of the specified System.Security.Permissions.KeyContainerPermissionAccessEntry object in the collection, or –1 if no match is found.
Use this method to determine the index number of the specified System.Security.Permissions.KeyContainerPermissionAccessEntry object in the collection. If the specified System.Security.Permissions.KeyContainerPermissionAccessEntry object is not found, an value of –1 is returned.