IVsLanguageInfo.GetFileExtensions(String) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the file extensions belonging to this language.
public:
int GetFileExtensions([Runtime::InteropServices::Out] System::String ^ % pbstrExtensions);
C++/WinRT
int GetFileExtensions([Runtime::InteropServices::Out] std::wstring const & & pbstrExtensions);
public int GetFileExtensions(out string pbstrExtensions);
abstract member GetFileExtensions : string -> int
Public Function GetFileExtensions (ByRef pbstrExtensions As String) As Integer
- pbstrExtensions
- String
[out] Returns a BSTR that contains the requested file extensions.
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
cpp#
HRESULT IVsLanguageInfo::GetFileExtensions(
[out] BSTR * pbstrExtensions
);
If more than one language is returned, separate the file extensions with semicolons—for example, ".c;.cpp;.cxx;.h;.hpp;.hxx."
Product | Versions |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |