Mime UtilsAppend Quoted Method
Quote the specified text and append it into the string builder.
Definition
Namespace: MimeKit.Utils
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
The string builder.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public static StringBuilder AppendQuoted(
StringBuilder builder,
string text
)Parameters
- builder StringBuilder
- The string builder.
- text String
- The text to quote.
Return Value
StringBuilderThe string builder.
Remarks
Quotes the specified text, enclosing it in double-quotes and escaping
any backslashes and double-quotes within.
Exceptions
| ArgumentNullException |
builder is . -or- text is . |