Freigeben über


IVsLanguageInfo.GetFileExtensions(String) Method

Definition

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."

Applies to