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