CSharpParseOptions.LanguageVersion 属性

定义

获取有效的语言版本,编译器用于选择要应用于程序的语言规则。

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

属性值

适用于