SocketTools .NET Edition

MailMessage.StoreSize Property

Gets the total number of messages in the current storage file, including deleted messages.

[Visual Basic]
Public ReadOnly Property StoreSize As Integer
[C#]
public int StoreSize {get;}

Property Value

An integer value which specifies the total number of messages in the storage file.

Remarks

The StoreSize property returns the total number of messages in the message store, including those messages that have been deleted. Because the StoreCount property value will decrease as messages are deleted, it is recommended that you use this property value when iterating through all of the messages in the message store.

See Also

MailMessage Class | SocketTools Namespace | StoreCount Property | StoreIndex Property