LumiSoft Net Help
ToStream Method (stream, headerWordEncoder, headerParmetersCharset, headerReencode)
Namespaces ► LumiSoft.Net.MIME ► MIME_Entity ► ToStream(Stream, MIME_Encoding_EncodedWord, Encoding, Boolean)
Store MIME enity to the specified stream.
Declaration Syntax

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

    public void ToStream(
    	Stream stream,
    	MIME_Encoding_EncodedWord headerWordEncoder,
    	Encoding headerParmetersCharset,
    	bool headerReencode
    )

    Public Sub ToStream (
    	stream As Stream,
    	headerWordEncoder As MIME_Encoding_EncodedWord,
    	headerParmetersCharset As Encoding,
    	headerReencode As Boolean
    )

    public:
    void ToStream(
    	Stream^ stream,
    	MIME_Encoding_EncodedWord^ headerWordEncoder,
    	Encoding^ headerParmetersCharset,
    	bool headerReencode
    )

    member ToStream :
            stream : Stream *
            headerWordEncoder : MIME_Encoding_EncodedWord *
            headerParmetersCharset : Encoding *
            headerReencode : bool -> unit

Parameters

stream (Stream)
  Stream where to store MIME entity. Storing starts form stream current position.

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

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

headerReencode (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.

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