PowerTCP Mail for .NET
Imap Constructor(Container)
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > Imap Class > Imap Constructor : Imap Constructor(Container)




container
The IContainer which contains the Imap component.
Initializes a new instance of the Imap component.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal container As Container _
)
Visual Basic (Usage)Copy Code
Dim container As Container
 
Dim instance As New Imap(container)
C# 
public Imap( 
   Container container
)
Managed Extensions for C++ 
public: Imap( 
   Container* container
)
C++/CLI 
public:
Imap( 
   Container^ container
)

Parameters

container
The IContainer which contains the Imap component.

Remarks

Use this constructor to add the Imap component to the IContainer container. When using Visual Studio.NET, simply add the Imap component to the form and the object will automatically be created and initialized. If working out of the Visual Studio.NET environment (or using the Imap component as a reference), the Imap component will have to be explicitly created and initialized.

The following table shows initial property values for an instance of Pop.

Property Initial Value
AutoList true
AutoPurge false
DoEvents true
Timeout 30000
UseMemoryStreams false

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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