Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns an Integer (int in C#) value indicating the size (in bytes) of the attachment. Read-only.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
<DispIdAttribute()> _
ReadOnly Property Size As Integer
Get
'Usage
Dim instance As Attachment
Dim value As Integer
value = instance.Size
[DispIdAttribute()]
int Size { get; }
Property Value
Type: System.Int32
Remarks
This information may not always be available for attachments. For example, on an S/MIME message, the actual attachment sizes are unknown until the attachment is extracted. In cases where the attachment size cannot be determined, this property returns 0.