Share via


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)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("181237A7-4861-4D6C-8CA1-8A004BEA2E8E")> _
Public Interface IVsFormatFilterProvider
[InterfaceTypeAttribute()]
[GuidAttribute("181237A7-4861-4D6C-8CA1-8A004BEA2E8E")]
public interface IVsFormatFilterProvider
[InterfaceTypeAttribute()]
[GuidAttribute(L"181237A7-4861-4D6C-8CA1-8A004BEA2E8E")]
public interface class IVsFormatFilterProvider
[<InterfaceTypeAttribute()>]
[<GuidAttribute("181237A7-4861-4D6C-8CA1-8A004BEA2E8E")>]
type IVsFormatFilterProvider =  interface end
public interface IVsFormatFilterProvider

The IVsFormatFilterProvider type exposes the following members.

Methods

  Name Description
Public method CurFileExtensionFormat Provides the index in the filter list that matches the extension of the file passed in.
Public method GetFormatFilterList Provides the list of available extensions for the Save As dialog.
Public method QueryInvalidEncoding Supplies a message informing the user that he has chosen encoding that is not supported by the language service.

Top

Remarks

Notes to Implementers

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

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace