Partager via


Compilation.GetRequiredLanguageVersion(Diagnostic) Méthode

Définition

Retourne la version de langue requise trouvée dans un Diagnostic, le cas échéant. Retourne null si aucun n’est trouvé.

public:
 static System::String ^ GetRequiredLanguageVersion(Microsoft::CodeAnalysis::Diagnostic ^ diagnostic);
public static string GetRequiredLanguageVersion (Microsoft.CodeAnalysis.Diagnostic diagnostic);
public static string? GetRequiredLanguageVersion (Microsoft.CodeAnalysis.Diagnostic diagnostic);
static member GetRequiredLanguageVersion : Microsoft.CodeAnalysis.Diagnostic -> string
Public Shared Function GetRequiredLanguageVersion (diagnostic As Diagnostic) As String

Paramètres

diagnostic
Diagnostic

Retours

S’applique à