StoreCount Property  
 

Returns the number of messages in the current storage file, not including deleted messages.

Syntax

object.StoreCount

Remarks

The StoreCount property returns the number of messages in the message store. It is important to note that does not count those messages which have been marked for deletion. This means that the value returned by this function will decrease as messages are deleted. To determine the total number of messages, including deleted messages, use the StoreSize property.

Data Type

Integer (Int32)

See Also

StoreFile Property, StoreIndex Property, StoreSize Property, DeleteMessage Method, FindMessage Method, OpenStore Method, PurgeStore Method