Click or drag to resize
MimeKit

MimeUtilsQuote(ReadOnlySpan`1Char) Method

Quote the specified text.

Namespace: MimeKit.Utils
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public static string Quote(
	ReadOnlySpan<char> text
)

Parameters

text  ReadOnlySpanChar
The text to quote.

Return Value

String
The quoted text.
Exceptions
ExceptionCondition
ArgumentNullExceptiontext is null.
Remarks
Quotes the specified text, enclosing it in double-quotes and escaping any backslashes and double-quotes within.
See Also