FileAssociationCollection Class

Definition

Represents a collection of file associations.

C#
[System.Runtime.InteropServices.ComVisible(false)]
public sealed class FileAssociationCollection : System.Collections.IEnumerable
Inheritance
FileAssociationCollection
Attributes
Implements

Properties

Count

Gets the number of file associations in the collection.

Item[Int32]

Gets the file association that appears at the specified index.

Methods

Add(FileAssociation)

Adds the specified file association to the collection.

Clear()

Removes all file associations from the collection.

GetEnumerator()

Returns an enumerator that can iterate through the collection.

Applies to

Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1