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
'宣言
<GuidAttribute("CE32A8CE-51D5-4eb9-B340-3910BFE7E393")> _
Public Interface IFileAssociationCollection
[GuidAttribute("CE32A8CE-51D5-4eb9-B340-3910BFE7E393")]
public interface IFileAssociationCollection
The IFileAssociationCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
Item | Gets the file association for a specified file name extension. |
Top
Methods
Name | Description | |
---|---|---|
Add | 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 | 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.