System.CodeDom.Compiler.CompilerInfo.GetLanguages Method

Gets the language names supported by the language provider.

Syntax

public string[] GetLanguages ()

Returns

An array of language names supported by the language provider.

Remarks

The <system.codedom> Element in the machine configuration file contains the language provider and compiler configuration settings for each System.CodeDom.Compiler.CodeDomProvider implementation on the computer. Each configured language provider supports one or more language names. For example, the System.CodeDom.Compiler.CompilerInfo object for a Microsoft.CSharp.CSharpCodeProvider might return an array with the language names "c#", "cs", and "csharp".

Requirements

Namespace: System.CodeDom.Compiler
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0