FolderInfoGetContents Method (MailQuery)

Get collection of messages.

Namespace:  Aspose.Email.Storage.Pst
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
public MessageInfoCollection GetContents(
	MailQuery query
)

Parameters

query
Type: Aspose.Email.Tools.SearchMailQuery
MailQuery that represents search query.

Return Value

Type: MessageInfoCollection
Collection of MessageInfo.
See Also