Partager via


Diagnostic.GetSuppressionInfo(Compilation) Méthode

Définition

Obtient les SuppressionInfo diagnostics supprimés, c’est-à-dire IsSuppressed = true. Sinon, retourne 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

Paramètres

compilation
Compilation

Retours

S’applique à