SearchQuery Class

Specifies the keywords to use for matching the entries in the store that is being searched. The value of the Query is used as a prefix-string matching pattern, and returns entries that match the beginning of the string. For example, searching for "John" would match "John Frum" or "Barry Johnson", but would not match "James Littlejohn". All nonempty text properties in the GAL that are indexed by using ANR are compared with the Query element value. Search comparisons are performed by using case-insensitive matching. For a Windows SharePoint Services document library search, this protocol supports queries of the following form: LinkId == value, where value specifies the URL of the item or folder and LinkId indicates that the value is to be compared to the link ID property. For mailbox search, the query syntax is as follows: - Folders can be specified in the following ways: Specified ID Specified folder and subfolders All email folders, including Draft, Inbox and subfolders, Outbox, and Sent Items - The basic keyword query can be composed of the following: The basic operator: And (section A dateTime filter specified by using the GreaterThan (section and LessThan elements (section FreeText elements (section that contain keywords The basic keyword query is executed against all indexed properties.
Inheritance Hierarchy

Namespace:  Aspose.Email.Clients.ActiveSync.TransportLayer
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.2
public class SearchQuery

The SearchQuery type exposes the following members.

Public methodSearchQuery
Initializes a new instance of the SearchQuery class
Public propertyAnd
Specifies the keywords to use for matching the entries in the store that is being searched.
Public propertyEqualTo
Specifies a property and a value that are compared for a "Equal To" condition during a search.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
See Also