ContentLength Property  
 

Returns the size of the data stored in the selected message part.

Syntax

object.ContentLength

Remarks

The ContentLength property returns the size of the data (in bytes) stored in the selected message part. This property is read-only, and is updated when the current message part changes.

Data Type

Integer (Int32)

See Also

ContentID Property, ContentType Property