IFileAssociationCollection Interface

Definition

Represents a collection of file type associations.

C++/CX
public interface class IFileAssociationCollection
Attributes

Properties

Item[Object]

Gets the file association for a specified file name extension.

Methods

Add(String, String, String, String)

Creates a file association and adds it to the collection.

Clear()

Removes all items from the collection.

GetFileAssociations()

Returns the items in the collection as an array.

Remove(String)

Removes a file association from the collection.

Applies to

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022