IFileAssociationCollection Interface

Represents a collection of file type associations.

Namespace:  Microsoft.VisualStudio.ManagedInterfaces.Publish
Assembly:  Microsoft.VisualStudio.ManagedInterfaces.9.0 (in Microsoft.VisualStudio.ManagedInterfaces.9.0.dll)

Syntax

'Declaration
<GuidAttribute("CE32A8CE-51D5-4eb9-B340-3910BFE7E393")> _
Public Interface IFileAssociationCollection
[GuidAttribute("CE32A8CE-51D5-4eb9-B340-3910BFE7E393")]
public interface IFileAssociationCollection
[GuidAttribute(L"CE32A8CE-51D5-4eb9-B340-3910BFE7E393")]
public interface class IFileAssociationCollection
[<GuidAttribute("CE32A8CE-51D5-4eb9-B340-3910BFE7E393")>]
type IFileAssociationCollection =  interface end
public interface IFileAssociationCollection

The IFileAssociationCollection type exposes the following members.

Properties

  Name Description
Public property Item Gets the file association for a specified file name extension.

Top

Methods

  Name Description
Public method Add Creates a file association and adds it to the collection.
Public method Clear Removes all items from the collection.
Public method GetFileAssociations Returns the items in the collection as an array.
Public method Remove Removes a file association from the collection.

Top

Remarks

The associations are in the context of a deployment.

This interface is only available to products that run in Visual Studio 2008 Service Pack 1 or later versions.

See Also

Reference

Microsoft.VisualStudio.ManagedInterfaces.Publish Namespace

IFileAssociation

IPublishProperties3