Click or drag to resize
MimeKit

MimeUtilsAppendQuoted Method

Quote the specified text and append it into the string builder.

Namespace: MimeKit.Utils
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public static StringBuilder AppendQuoted(
	StringBuilder builder,
	string text
)

Parameters

builder  StringBuilder
The string builder.
text  String
The text to quote.

Return Value

StringBuilder
The string builder.
Exceptions
ExceptionCondition
ArgumentNullException

builder is null.

-or-

text is null.
Remarks
Quotes the specified text, enclosing it in double-quotes and escaping any backslashes and double-quotes within.
See Also