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