다음을 통해 공유


IVsFormatFilterProvider Interface

Definition

Interface to provide file extension checking for Save As functionality.

public interface class IVsFormatFilterProvider
public interface class IVsFormatFilterProvider
__interface IVsFormatFilterProvider
[System.Runtime.InteropServices.Guid("181237A7-4861-4D6C-8CA1-8A004BEA2E8E")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsFormatFilterProvider
[System.Runtime.InteropServices.Guid("181237A7-4861-4D6C-8CA1-8A004BEA2E8E")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsFormatFilterProvider
[<System.Runtime.InteropServices.Guid("181237A7-4861-4D6C-8CA1-8A004BEA2E8E")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsFormatFilterProvider = interface
[<System.Runtime.InteropServices.Guid("181237A7-4861-4D6C-8CA1-8A004BEA2E8E")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsFormatFilterProvider = interface
Public Interface IVsFormatFilterProvider
Derived
Attributes

Notes to Implementers

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

Methods

CurFileExtensionFormat(String, UInt32)

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

GetFormatFilterList(String)

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

QueryInvalidEncoding(UInt32, String)

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

Applies to