Partager via


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
[<System.Runtime.InteropServices.ComVisible(false)>]
type FileAssociationCollection = class
    interface IEnumerable
Public NotInheritable Class FileAssociationCollection
Implements 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