PowerTCP Mail for .NET
AutoSize Property
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > Pop Class : AutoSize Property




When true, PopMessage.Size is initialized during login.

Syntax

Visual Basic (Declaration) 
<DefaultValueAttribute()>
<CategoryAttribute("Behavior")>
<DescriptionAttribute("When true, the Size property of each PopMessage is initialized during Login().")>
Public Property AutoSize As Boolean
Visual Basic (Usage)Copy Code
Dim instance As Pop
Dim value As Boolean
 
instance.AutoSize = value
 
value = instance.AutoSize
C# 
[DefaultValueAttribute()]
[CategoryAttribute("Behavior")]
[DescriptionAttribute("When true, the Size property of each PopMessage is initialized during Login().")]
public bool AutoSize {get; set;}
Managed Extensions for C++ 
[DefaultValueAttribute()]
[CategoryAttribute("Behavior")]
[DescriptionAttribute("When true, the Size property of each PopMessage is initialized during Login().")]
public: __property bool get_AutoSize();
public: __property void set_AutoSize( 
   bool value
);
C++/CLI 
[DefaultValueAttribute()]
[CategoryAttribute("Behavior")]
[DescriptionAttribute("When true, the Size property of each PopMessage is initialized during Login().")]
public:
property bool AutoSize {
   bool get();
   void set (    bool value);
}

Property Value

true if the size of the message should be retrieved during login, false otherwise. The default value is true.

Remarks

When true, this property will cause the server to report the size of all messages contained in the mail drop (access Pop.Messages[n].Size for the size of each individual message).

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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