ObsoleteAttribute.DiagnosticId Propriedade
Definição
Obtém ou define a ID que o compilador usará ao relatar um uso da API.Gets or sets the ID that the compiler will use when reporting a use of the API.
public:
property System::String ^ DiagnosticId { System::String ^ get(); void set(System::String ^ value); };
public string DiagnosticId { get; set; }
member this.DiagnosticId : string with get, set
Public Property DiagnosticId As String
Valor da propriedade
A ID de diagnóstico exclusiva.The unique diagnostic ID.
Comentários
A ID de diagnóstico é mostrada na saída da compilação para avisos e erros.The diagnostic ID is shown in build output for warnings and errors.
Essa propriedade representa a ID exclusiva que pode ser usada para suprimir os avisos ou erros, se necessário.This property represents the unique ID that can be used to suppress the warnings or errors, if needed.