共用方式為


WarningAnnotation.GetDescription(SyntaxAnnotation) 方法

定義

public:
 static System::String ^ GetDescription(Microsoft::CodeAnalysis::SyntaxAnnotation ^ annotation);
public static string GetDescription (Microsoft.CodeAnalysis.SyntaxAnnotation annotation);
public static string? GetDescription (Microsoft.CodeAnalysis.SyntaxAnnotation annotation);
static member GetDescription : Microsoft.CodeAnalysis.SyntaxAnnotation -> string
Public Shared Function GetDescription (annotation As SyntaxAnnotation) As String

參數

annotation
SyntaxAnnotation

傳回

適用於