共用方式為


Search Members

Include Protected Members
Include Inherited Members

Contains information about individual searches performed against Outlook items.

The Search type exposes the following members.

Properties

  Name Description
Public property Application Returns an Application object that represents the parent Outlook application for the object. Read-only.
Public property Class Returns an OlObjectClass constant indicating the object's class. Read-only.
Public property Filter Returns a String (string in C#) value that represents the DASL statement used to restrict the search to a specified subset of data. Read-only
Public property IsSynchronous Returns a Boolean (bool in C#) indicating whether the search is synchronous. Read-only.
Public property Parent Returns the parent Object of the specified object. Read-only.
Public property Results Returns a Results collection that specifies the results of the search. Read-only.
Public property Scope Returns a String (string in C#) that specifies the scope of the specified search. Read-only.
Public property SearchSubFolders Returns a Boolean (bool in C#) indicating whether the scope of the specified search included the subfolders of any folders searched. Read-only.
Public property Session Returns the NameSpace object for the current session. Read-only.
Public property Tag Returns a String (string in C#) specifying the name of the current search. The Tag property is used to identify a specific search. Read-only.

Top

Methods

  Name Description
Public method GetTable Obtains a Table object that contains items filtered by the Filter parameter in a preceding _Application.AdvancedSearch method call.
Public method Save Saves the search results to a Search Folder.
Public method Stop Immediately ends the search that is being performed currently.

Top

See Also

Reference

Search Interface

Microsoft.Office.Interop.Outlook Namespace