PowerTCP Mail for .NET
Get(Int32) Method
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > PopMessage Class > Get Method : Get(Int32) Method




lines
The amount of lines of the message to get.
Get a specified amount of lines of a single message from the server. The message will be encapsulated by a MessageStream.

Syntax

Visual Basic (Declaration) 
Public Overloads Function Get( _
   ByVal lines As Integer _
) As PopMessage
Visual Basic (Usage)Copy Code
Dim instance As PopMessage
Dim lines As Integer
Dim value As PopMessage
 
value = instance.Get(lines)
C# 
public PopMessage Get( 
   int lines
)
Managed Extensions for C++ 
public: PopMessage* Get( 
   int lines
) 
C++/CLI 
public:
PopMessage^ Get( 
   int lines
) 

Parameters

lines
The amount of lines of the message to get.

Return Value

A PopMessage object, representing the message retrieved.

Remarks

This method gets the amount of lines of a message specifies by lines. Upon successful completion, the PopMessage.Message property will contain a MessageStream object representing the lines retrieved from the message. The MessageStream object provides flexibility and functionality in accessing the message. For example, message header lines, message text, and message attachments are all available as collections of the MessageStream object. The MessageStream object also provides decoding of MIME parts "on the fly".

To perform this operation asynchronously, use the PopMessage.BeginGet method.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 3.2
© 2010 Dart Communications. All Rights Reserved.