_Store.GetSearchFolders Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
Microsoft::Office::Interop::Outlook::Folders ^ GetSearchFolders();
public Microsoft.Office.Interop.Outlook.Folders GetSearchFolders ();
Public Function GetSearchFolders () As Folders
Returns
A Folders collection object that represents all the search folders for the Store object.
Remarks
GetSearchFolders returns all the visible active search folders for the Store. It does not return uninitialized or aged out search folders.
GetSearchFolders returns a Folders collection object with Count equal zero (0) if no search folders have been defined for the Store.
For a Folders collection object that represents a collection of search folders, Parent returns the same object as GetRootFolder(). Folders returns Nothing (a null reference (Nothing in Visual Basic) in C#).