Partilhar via


LanguageVersionFacts Class

Definition

public ref class LanguageVersionFacts abstract sealed
public static class LanguageVersionFacts
type LanguageVersionFacts = class
Public Module LanguageVersionFacts
Inheritance
LanguageVersionFacts

Methods

MapSpecifiedToEffectiveVersion(LanguageVersion)

Map a language version (such as Default, Latest, or CSharpN) to a specific version (CSharpM).

ToDisplayString(LanguageVersion)

Displays the version number in the format expected on the command-line (/langver flag). For instance, "6", "7.0", "7.1", "latest".

TryParse(String, LanguageVersion)

Try parse a LanguageVersion from a string input, returning default if input was null.

Applies to