LumiSoft Net Help
EncodeS Method (encoding, charset, split, text)
NamespacesLumiSoft.Net.MIMEMIME_Encoding_EncodedWordEncodeS(MIME_EncodedWordEncoding, Encoding, Boolean, String)
Encodes specified text if it contains 8-bit chars, otherwise text won't be encoded.
Declaration Syntax
C#Visual BasicVisual C++F#
public static string EncodeS(
	MIME_EncodedWordEncoding encoding,
	Encoding charset,
	bool split,
	string text
)
Public Shared Function EncodeS ( 
	encoding As MIME_EncodedWordEncoding,
	charset As Encoding,
	split As Boolean,
	text As String
) As String
public:
static String^ EncodeS(
	MIME_EncodedWordEncoding encoding, 
	Encoding^ charset, 
	bool split, 
	String^ text
)
static member EncodeS : 
        encoding : MIME_EncodedWordEncoding * 
        charset : Encoding * 
        split : bool * 
        text : string -> string 
Parameters
encoding (MIME_EncodedWordEncoding)
Encoding to use to encode text.
charset (Encoding)
Charset to use for encoding. If not sure UTF-8 is strongly recommended.
split (Boolean)
If true, words are splitted after 75 chars.
text (String)
Text to encode.
Return Value
String
Returns encoded text.
Exceptions
ExceptionCondition
ArgumentNullExceptionIs raised when charset or text is null reference.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119