次の方法で共有


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

'宣言
<GuidAttribute("BC328DB5-F80C-4231-9A18-496E56E2F4D0")> _
Public Interface IFileAssociation
[GuidAttribute("BC328DB5-F80C-4231-9A18-496E56E2F4D0")]
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