共用方式為


CSharpParseOptions.SpecifiedLanguageVersion Property

Definition

Gets the specified language version, which is the value that was specified in the call to the constructor, or modified using the WithLanguageVersion(LanguageVersion) method, or provided on the command line.

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

Property Value

Applies to