<PackageReference Include="System.Security.Permissions" Version="10.0.0-preview.7.25380.108" />

KeyContainerPermissionAccessEntryCollection

Represents a collection of KeyContainerPermissionAccessEntry objects. This class cannot be inherited.
public int Count { get; }

Gets the number of items in the collection.

public bool IsSynchronized { get; }

Gets a value indicating whether the collection is synchronized (thread safe).

public KeyContainerPermissionAccessEntry this[int index] { get; }

Gets the item at the specified index in the collection.

public object SyncRoot { get; }

Gets an object that can be used to synchronize access to the collection.

Initializes a new instance of the KeyContainerPermissionAccessEntryCollection class.

public int Add(KeyContainerPermissionAccessEntry accessEntry)

Adds a KeyContainerPermissionAccessEntry object to the collection.

public void Clear()

Removes all the KeyContainerPermissionAccessEntry objects from the collection.

public void CopyTo(KeyContainerPermissionAccessEntry[] array, int index)

Copies the elements of the collection to a compatible one-dimensional array, starting at the specified index of the target array.

public void CopyTo(Array array, int index)

Copies the elements of the ICollection to an Array, starting at a particular Array index.

Returns a KeyContainerPermissionAccessEntryEnumerator object that can be used to iterate through the objects in the collection.

Gets the index in the collection of the specified KeyContainerPermissionAccessEntry object, if it exists in the collection.

public void Remove(KeyContainerPermissionAccessEntry accessEntry)

Removes the specified KeyContainerPermissionAccessEntry object from the collection.