LumiSoft Net Help
MessageTopLinesToStream Method (stream, lineCount)
Namespaces ► LumiSoft.Net.POP3.Client ► POP3_ClientMessage ► MessageTopLinesToStream(Stream, Int32)
Stores message header + specified number lines of message body to the specified stream.
Declaration Syntax

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

    public void MessageTopLinesToStream(
    	Stream stream,
    	int lineCount
    )

    Public Sub MessageTopLinesToStream (
    	stream As Stream,
    	lineCount As Integer
    )

    public:
    void MessageTopLinesToStream(
    	Stream^ stream,
    	int lineCount
    )

    member MessageTopLinesToStream :
            stream : Stream *
            lineCount : int -> unit

Parameters

stream (Stream)
  Stream where to store data.

lineCount (Int32)
  Number of lines to get from message body.

Exceptions

Exception | Condition
--- | ---
ObjectDisposedException | Is raised when this object is disposed and this method is accessed.
ArgumentNullException | Is raised when argument stream value is null.
InvalidOperationException | Is raised when message is marked for deletion and this method is accessed.
POP3_ClientException | Is raised when POP3 serveer returns error.

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