CryptographicAttributeObjectCollection Class

Definition

Contains a set of CryptographicAttributeObject objects.

public ref class CryptographicAttributeObjectCollection sealed : System::Collections::ICollection
public sealed class CryptographicAttributeObjectCollection : System.Collections.ICollection
type CryptographicAttributeObjectCollection = class
    interface ICollection
    interface IEnumerable
Public NotInheritable Class CryptographicAttributeObjectCollection
Implements ICollection
Inheritance
CryptographicAttributeObjectCollection
Implements

Examples

CryptographicAttributeObject

Constructors

CryptographicAttributeObjectCollection()

Initializes a new instance of the CryptographicAttributeObjectCollection class.

CryptographicAttributeObjectCollection(CryptographicAttributeObject)

Initializes a new instance of the CryptographicAttributeObjectCollection class, adding a specified CryptographicAttributeObject to the collection.

Properties

Count

Gets the number of items in the collection.

IsSynchronized

Gets a value that indicates whether access to the collection is synchronized, or thread safe.

Item[Int32]

Gets the CryptographicAttributeObject object at the specified index in the collection.

SyncRoot

Gets an Object object used to synchronize access to the collection.

Methods

Add(AsnEncodedData)

Adds the specified AsnEncodedData object to the collection.

Add(CryptographicAttributeObject)

Adds the specified CryptographicAttributeObject object to the collection.

CopyTo(CryptographicAttributeObject[], Int32)

Copies the CryptographicAttributeObjectCollection collection to an array of CryptographicAttributeObject objects.

Equals(Object)

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

(Inherited from Object)
GetEnumerator()

Gets a CryptographicAttributeObjectEnumerator object for the collection.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Remove(CryptographicAttributeObject)

Removes the specified CryptographicAttributeObject 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 this CryptographicAttributeObjectCollection collection to an Array array, starting at a particular index.

ICollection.IsSynchronized

Gets a value indicating whether access to the ICollection is synchronized (thread safe).

ICollection.SyncRoot

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

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through the CryptographicAttributeObjectCollection 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