IVsLanguageInfo.GetFileExtensions(String) Method
Definition
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);
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
Parameters
- pbstrExtensions
- String
[out] Returns a BSTR that contains the requested file extensions.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
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."