| Visual Basic (Declaration) | |
|---|---|
<DefaultValueAttribute()> <CategoryAttribute("Behavior")> Public Property AutoList As Boolean | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As Imap Dim value As Boolean instance.AutoList = value value = instance.AutoList | |
| C# | |
|---|---|
[DefaultValueAttribute()] [CategoryAttribute("Behavior")] public bool AutoList {get; set;} | |
| Managed Extensions for C++ | |
|---|---|
[DefaultValueAttribute()] [CategoryAttribute("Behavior")] public: __property bool get_AutoList(); public: __property void set_AutoList( bool value ); | |
| C++/CLI | |
|---|---|
[DefaultValueAttribute()] [CategoryAttribute("Behavior")] public: property bool AutoList { bool get(); void set ( bool value); } | |
Property Value
true if you desire an automatic listing upon logging in; false otherwise. The default value is true.The Imap.AutoList property, when true, causes the component to automatically send an IMAP LIST “%” command on login to get all the top level mailboxes and sets the Imap.CurrentMailbox to “INBOX” if such a mailbox exists. When set to false, no initial list command is issued. This might be useful when a list other than a hierarchical one is needed for the initial set of mailboxes or if writing a scripting application that does not depend on a list.
Target Platforms: Microsoft .NET Framework 2.0
Copy Code