CSharpParseOptions.SpecifiedLanguageVersion 属性

定义

获取指定的语言版本,该值是在对构造函数的调用中指定的值,或者使用 WithLanguageVersion(LanguageVersion) 该方法进行修改,或在命令行上提供。

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

属性值

适用于