LumiSoft Net Help
ToStream Method (stream, wordEncoder, parmetersCharset, reEncod)
Namespaces ► LumiSoft.Net.MIME ► MIME_h_Collection ► ToStream(Stream, MIME_Encoding_EncodedWord, Encoding, Boolean)
Stores header to the specified stream.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public void ToStream(
    	Stream stream,
    	MIME_Encoding_EncodedWord wordEncoder,
    	Encoding parmetersCharset,
    	bool reEncod
    )

    Public Sub ToStream (
    	stream As Stream,
    	wordEncoder As MIME_Encoding_EncodedWord,
    	parmetersCharset As Encoding,
    	reEncod As Boolean
    )

    public:
    void ToStream(
    	Stream^ stream,
    	MIME_Encoding_EncodedWord^ wordEncoder,
    	Encoding^ parmetersCharset,
    	bool reEncod
    )

    member ToStream :
            stream : Stream *
            wordEncoder : MIME_Encoding_EncodedWord *
            parmetersCharset : Encoding *
            reEncod : bool -> unit

Parameters

stream (Stream)
  Stream where to store header.

wordEncoder (MIME_Encoding_EncodedWord)
  8-bit words ecnoder. Value null means that words are not encoded.

parmetersCharset (Encoding)
  Charset to use to encode 8-bit header parameters. Value null means parameters not encoded.

reEncod (Boolean)
  If true always specified encoding is used for header. If false and header field value not modified, original encoding is kept.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is raised when stream is null reference.

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