편집

다음을 통해 공유


Attachment.Size Property

Definition

Returns an Integer (int in C#) value indicating the size (in bytes) of the attachment. Read-only.

public:
 property int Size { int get(); };
public int Size { get; }
Public ReadOnly Property Size As Integer

Property Value

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.

Applies to