IVsFormatFilterProvider Interface

 

Interface to provide file extension checking for Save As functionality.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

[InterfaceTypeAttribute(1)]
[GuidAttribute("181237A7-4861-4D6C-8CA1-8A004BEA2E8E")]
public interface IVsFormatFilterProvider

NameDescription
System_CAPS_pubmethodCurFileExtensionFormat(String, UInt32)

Provides the index in the filter list that matches the extension of the file passed in.

System_CAPS_pubmethodGetFormatFilterList(String)

Provides the list of available extensions for the Save As dialog.

System_CAPS_pubmethodQueryInvalidEncoding(UInt32, String)

Supplies a message informing the user that he has chosen encoding that is not supported by the language service.

Notes to Implementers:

Implemented by language services that want to verify that file extensions specified by a user are handled by the language service.

Return to top
Show: