Gets or sets the approximate size of the attachment. This parameter is rarely used.
Namespace:
Rebex.Mime.Headers
Assembly:
Rebex.Mail (in Rebex.Mail.dll)
Syntax
Visual Basic |
---|
Public Property Size As Nullable(Of Long) Get Set |
C# |
---|
public Nullable<long> Size { get; set; } |
Field Value
The approximate size of the attachment. Null reference (Nothing in Visual Basic) if not specified.Remarks
The size parameter indicates an approximate size of the file in octets.
It can be used, for example, to pre-allocate space before attempting to store the file,
or to determine whether enough space exists.
https://tools.ietf.org/html/rfc2183#section-2.7