LumiSoft Net Help
ToStream Method (stream, headerWordEncoder, headerParmetersCharset)
Namespaces ► LumiSoft.Net.MIME ► MIME_Entity ► ToStream(Stream, MIME_Encoding_EncodedWord, Encoding)
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
    )

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

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

    member ToStream :
            stream : Stream *
            headerWordEncoder : MIME_Encoding_EncodedWord *
            headerParmetersCharset : Encoding -> 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.

Exceptions

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

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