IVsFormatFilterProvider::GetFormatFilterList Method (String^)
Visual Studio 2015
Provides the list of available extensions for the Save As dialog.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- pbstrFilterList
-
Type:
System::String^
[out] The list of available extensions.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsFormatFilterProvider::GetFormatFilterList( [out] BSTR *pbstrFilterList );
If no filter is provided, the default filter string is "All Files (*.*)\n*.*\nText Files (*.txt)\n*.txt\n" This filter list should not contain the All Files filer or Text Files. These will be added by the environment.
Show: