TextLength Property  
 

Returns the number of characters in the current message part after decoding.

Syntax

object.TextLength

Remarks

The TextLength property returns the actual length of the message text in the current message part. This value may be different than what is returned by the ContentLength property, which returns the value of the content length in bytes, as specified in the message header. The TextLength property returns the number of characters (not bytes) in the message text after the contents have been decoded and converted to Unicode.

Data Type

Integer (Int32)

See Also

ContentLength Property, Text Property