KeyContainerPermissionAccessEntryCollection Class

Definition

Represents a collection of KeyContainerPermissionAccessEntry objects. This class cannot be inherited.

public ref class KeyContainerPermissionAccessEntryCollection sealed : System::Collections::ICollection
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public sealed class KeyContainerPermissionAccessEntryCollection : System.Collections.ICollection
type KeyContainerPermissionAccessEntryCollection = class
    interface ICollection
    interface IEnumerable
Public NotInheritable Class KeyContainerPermissionAccessEntryCollection
Implements ICollection
Inheritance
KeyContainerPermissionAccessEntryCollection
Attributes
Implements

Remarks

KeyContainerPermissionAccessEntry objects specify access rights for specific key containers.

Constructors

KeyContainerPermissionAccessEntryCollection()

Properties

Count

Gets the number of items in the collection.

IsSynchronized

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

Item[Int32]

Gets the item at the specified index in the collection.

SyncRoot

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

Methods

Add(KeyContainerPermissionAccessEntry)

Adds a KeyContainerPermissionAccessEntry object to the collection.

Clear()

Removes all the KeyContainerPermissionAccessEntry objects from the collection.

CopyTo(Array, Int32)
CopyTo(KeyContainerPermissionAccessEntry[], Int32)

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

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetEnumerator()

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

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
IndexOf(KeyContainerPermissionAccessEntry)

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

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Remove(KeyContainerPermissionAccessEntry)

Removes the specified KeyContainerPermissionAccessEntry object from the collection.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32)

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

IEnumerable.GetEnumerator()

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

Extension Methods

Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to

See also