Compartilhar via


Compilation.GetRequiredLanguageVersion(Diagnostic) Método

Definição

Retorna a versão de idioma necessária encontrada em um Diagnostic, se houver algum encontrado. Retornará nulo se nenhum for encontrado.

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

Parâmetros

diagnostic
Diagnostic

Retornos

Aplica-se a