Sdílet prostřednictvím


LanguageService.GetFileExtensions(String) Method

Definition

Returns a string containing the file extensions associated with this language.

public:
 virtual int GetFileExtensions([Runtime::InteropServices::Out] System::String ^ % extensions);
 virtual int GetFileExtensions([Runtime::InteropServices::Out] std::wstring const & & extensions);
public virtual int GetFileExtensions (out string extensions);
abstract member GetFileExtensions : string -> int
override this.GetFileExtensions : string -> int
Public Overridable Function GetFileExtensions (ByRef extensions As String) As Integer

Parameters

extensions
String

[out] Returns the extensions for this language.

Returns

If successful, returns S_OK; otherwise, returns an error code.

Implements

Remarks

The extensions are stored in a semi-colon delimited list. For example, if your language service supports C++, C#, and Visual Basic, it might return ".cpp;.cs;.vb".

Applies to