共用方式為


LanguageVersionFacts.MapSpecifiedToEffectiveVersion(LanguageVersion) 方法

定義

將語言版本 (,例如 Default、Latest 或 CSharpN) 對應至特定版本 (CSharpM) 。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::CodeAnalysis::CSharp::LanguageVersion MapSpecifiedToEffectiveVersion(Microsoft::CodeAnalysis::CSharp::LanguageVersion version);
public static Microsoft.CodeAnalysis.CSharp.LanguageVersion MapSpecifiedToEffectiveVersion (this Microsoft.CodeAnalysis.CSharp.LanguageVersion version);
static member MapSpecifiedToEffectiveVersion : Microsoft.CodeAnalysis.CSharp.LanguageVersion -> Microsoft.CodeAnalysis.CSharp.LanguageVersion
<Extension()>
Public Function MapSpecifiedToEffectiveVersion (version As LanguageVersion) As LanguageVersion

參數

version
LanguageVersion

傳回

適用於