Condividi tramite


Diagnostic.GetSuppressionInfo(Compilation) Metodo

Definizione

Ottiene l'oggetto per la SuppressionInfo diagnostica eliminata, ad esempio IsSuppressed = true. In caso contrario, restituisce Null.

public:
 Microsoft::CodeAnalysis::Diagnostics::SuppressionInfo ^ GetSuppressionInfo(Microsoft::CodeAnalysis::Compilation ^ compilation);
public Microsoft.CodeAnalysis.Diagnostics.SuppressionInfo GetSuppressionInfo (Microsoft.CodeAnalysis.Compilation compilation);
public Microsoft.CodeAnalysis.Diagnostics.SuppressionInfo? GetSuppressionInfo (Microsoft.CodeAnalysis.Compilation compilation);
member this.GetSuppressionInfo : Microsoft.CodeAnalysis.Compilation -> Microsoft.CodeAnalysis.Diagnostics.SuppressionInfo
Public Function GetSuppressionInfo (compilation As Compilation) As SuppressionInfo

Parametri

compilation
Compilation

Restituisce

Si applica a