IFileAssociation Interface

Represents an association between a file type and a specific program.

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

Syntax

'Declaration
<GuidAttribute("BC328DB5-F80C-4231-9A18-496E56E2F4D0")> _
Public Interface IFileAssociation
[GuidAttribute("BC328DB5-F80C-4231-9A18-496E56E2F4D0")]
public interface IFileAssociation
[GuidAttribute(L"BC328DB5-F80C-4231-9A18-496E56E2F4D0")]
public interface class IFileAssociation
[<GuidAttribute("BC328DB5-F80C-4231-9A18-496E56E2F4D0")>]
type IFileAssociation =  interface end
public interface IFileAssociation

The IFileAssociation type exposes the following members.

Properties

  Name Description
Public property DefaultIcon Gets or sets the default icon that is associated with files of this type.
Public property Description Gets or sets the description of the program that is used to open files of this type.
Public property Extension Gets the file name extension for the file type.
Public property Progid Gets or sets the ProgID that identifies the program that is used to open files of this type.

Top

Remarks

The association is 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

IFileAssociationCollection

IPublishProperties3