CSharpProcedural.

AppendObsoleteAttribute(StringBuilder, int, string, bool) Method

Summary

Appends an [System.ObsoleteAttribute] with the specified message in its constructor.

If `message` is null, this method does nothing.

Syntax

public static void AppendObsoleteAttribute(StringBuilder text, int indent, string message = "", bool error = false)

Parameters

Name Type Description
text StringBuilder
indent int
message string
error bool

Return Value

Type Description
void