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




The maximum length of a header line.

Syntax

Visual Basic (Declaration) 
Public Property MaxLineLength As Integer
Visual Basic (Usage)Copy Code
Dim instance As MailHeader
Dim value As Integer
 
instance.MaxLineLength = value
 
value = instance.MaxLineLength
C# 
public int MaxLineLength {get; set;}
Managed Extensions for C++ 
public: __property int get_MaxLineLength();
public: __property void set_MaxLineLength( 
   int value
);
C++/CLI 
public:
property int MaxLineLength {
   int get();
   void set (    int value);
}

Property Value

An Integer representing the maximum length of a header line. The default value is 997.

Example

The following example demonstrates
Visual BasicCopy Code
' Be sure to import the namespace by putting "Imports Dart.PowerTCP.Mail"
' at the top of your class.
C#Copy Code
// Be sure to import the namespace by putting "using Dart.PowerTCP.Mail;"
// at the top of your class.

Remarks

If a header line exceeds the value specified by this property, a CRLF + Space will be inserted.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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