FileAssociationCollection FileAssociationCollection FileAssociationCollection FileAssociationCollection Class

Definition

Represents a collection of file associations.

public ref class FileAssociationCollection sealed : System::Collections::IEnumerable
[System.Runtime.InteropServices.ComVisible(false)]
public sealed class FileAssociationCollection : System.Collections.IEnumerable
type FileAssociationCollection = class
    interface IEnumerable
Public NotInheritable Class FileAssociationCollection
Implements IEnumerable
Inheritance
FileAssociationCollectionFileAssociationCollectionFileAssociationCollectionFileAssociationCollection
Attributes
Implements

Properties

Count Count Count Count

Gets the number of file associations in the collection.

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

Gets the file association that appears at the specified index.

Methods

Add(FileAssociation) Add(FileAssociation) Add(FileAssociation) Add(FileAssociation)

Adds the specified file association to the collection.

Clear() Clear() Clear() Clear()

Removes all file associations from the collection.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Returns an enumerator that can iterate through the collection.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Extension Methods

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

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

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to