Partager via


Csc.LangVersion Property

Definition

Gets or sets the version of the language to use.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 property System::String ^ LangVersion { System::String ^ get(); void set(System::String ^ value); };
public string LangVersion { get; set; }
member this.LangVersion : string with get, set
Public Property LangVersion As String

Property Value

The version of the language to use.

Remarks

For more information, see /langversion (C# Compiler Options).

Applies to