Partilhar via


CSharpParseOptions.LanguageVersion Property

Definition

Gets the effective language version, which the compiler uses to select the language rules to apply to the program.

public:
 property Microsoft::CodeAnalysis::CSharp::LanguageVersion LanguageVersion { Microsoft::CodeAnalysis::CSharp::LanguageVersion get(); };
public Microsoft.CodeAnalysis.CSharp.LanguageVersion LanguageVersion { get; }
member this.LanguageVersion : Microsoft.CodeAnalysis.CSharp.LanguageVersion
Public ReadOnly Property LanguageVersion As LanguageVersion

Property Value

Applies to