SearchFolder Class

Definition

Represents a search folder that contains a specified set of items and the properties that are associated with those items.

public ref class SearchFolder : Microsoft::Exchange::WebServices::Data::Folder
public class SearchFolder : Microsoft.Exchange.WebServices.Data.Folder
Public Class SearchFolder
Inherits Folder
Inheritance
SearchFolder

Constructors

SearchFolder(ExchangeService)

Initializes an unsaved local instance of a search folder.

Properties

ArchiveTag

Gets or sets the archive tag. The ArchiveTag property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

(Inherited from Folder)
ChildFolderCount

Gets the number of child folders in this this folder.

(Inherited from Folder)
DisplayName

Gets or sets the display name of the folder.

(Inherited from Folder)
EffectiveRights

Gets a value that indicates the effective rights that the current authenticated user has on the folder.

(Inherited from Folder)
ExtendedProperties

Gets a list of extended properties that are associated with the folder.

(Inherited from Folder)
FolderClass

Gets or sets the custom class name of this folder.

(Inherited from Folder)
Id

Gets the identifier of the folder.

(Inherited from Folder)
IsDirty

Gets a value that indicates whether the object has been modified.

(Inherited from ServiceObject)
IsNew

Indicates whether this object exists in the Exchange database or if it is a local object that has not been saved to the Exchange database.

(Inherited from ServiceObject)
Item[PropertyDefinitionBase]

Gets the value of the specified property in this instance.

(Inherited from ServiceObject)
ManagedFolderInformation

Gets the Messaging Records Management (MRM) information that is associated with the folder.

(Inherited from Folder)
ParentFolderId

Gets the identifier of this folder's parent folder.

(Inherited from Folder)
Permissions

Gets or sets a list of permissions for the folder.

(Inherited from Folder)
PolicyTag

Gets or sets the policy tag. The PolicyTag property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

(Inherited from Folder)
Schema

Gets the schema that is associated with this type of object.

(Inherited from ServiceObject)
SearchParameters

Gets or sets the search parameters that are associated with the search folder.

Service

Gets the Exchange service for this object.

(Inherited from ServiceObject)
TotalCount

Gets the total number of items that are contained in the folder.

(Inherited from Folder)
UnreadCount

Gets the number of unread items in the folder.

(Inherited from Folder)
WellKnownFolderName

Gets one of the common folder names listed in the WellKnownFolderName enumeration. The WellKnownFolderName property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

(Inherited from Folder)

Methods

Bind(ExchangeService, FolderId)

Binds to an existing search folder and loads its first-class properties.

Bind(ExchangeService, FolderId, PropertySet)

Binds to an existing search folder and loads the specified set of properties.

Bind(ExchangeService, WellKnownFolderName)

Binds to an existing search folder and loads its first-class properties.

Bind(ExchangeService, WellKnownFolderName, PropertySet)

Binds to an existing search folder and loads the specified set of properties.

Copy(FolderId)

Copies this folder into a specific folder.

(Inherited from Folder)
Copy(WellKnownFolderName)

Copies this folder into the specified folder.

(Inherited from Folder)
Delete(DeleteMode)

Deletes the folder.

(Inherited from Folder)
Empty(DeleteMode, Boolean)

Empties the folder. Optionally, enables you to empty subfolders.

(Inherited from Folder)
FindFolders(FolderView)

Obtains a list of folders by searching the subfolders of this folder.

(Inherited from Folder)
FindFolders(SearchFilter, FolderView)

Returns a list of folders by searching the subfolders in the specified view that satisfy the specified search filter criteria.

(Inherited from Folder)
FindItems(ItemView)

Obtains a list of items by searching the contents of this folder.

(Inherited from Folder)
FindItems(ItemView, Grouping)

Obtains a list of items by searching the contents of this folder in the specified view and grouped by the specified property.

(Inherited from Folder)
FindItems(SearchFilter, ItemView)

Obtains a list of items by searching the contents of this folder.

(Inherited from Folder)
FindItems(SearchFilter, ItemView, Grouping)

Returns a list of items by searching the contents of this folder, using the specified search filter.

(Inherited from Folder)
FindItems(String, ItemView)

Returns a list of items by searching the contents of this folder with the specified query string.

(Inherited from Folder)
FindItems(String, ItemView, Grouping)

Returns a list of items by searching the contents of this folder.

(Inherited from Folder)
GetLoadedPropertyDefinitions()

Provides the collection of loaded property definitions.

(Inherited from ServiceObject)
Load()

Loads the first-class properties.

(Inherited from ServiceObject)
Load(PropertySet)

Loads the specified set of properties.

(Inherited from ServiceObject)
MarkAllItemsAsRead(Boolean)

Marks all items in folder as read. The MarkAllItemsAsRead(Boolean) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

(Inherited from Folder)
MarkAllItemsAsUnread(Boolean)

Marks all items in folder as unread. The MarkAllItemsAsUnread(Boolean) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

(Inherited from Folder)
Move(FolderId)

Moves this folder to a specific folder.

(Inherited from Folder)
Move(WellKnownFolderName)

Moves this folder to the specified folder.

(Inherited from Folder)
RemoveExtendedProperty(ExtendedPropertyDefinition)

Removes an extended property from the folder.

(Inherited from Folder)
Save(FolderId)

Saves this folder in a specific folder.

(Inherited from Folder)
Save(WellKnownFolderName)

Saves this folder in a specific folder.

(Inherited from Folder)
SetExtendedProperty(ExtendedPropertyDefinition, Object)

Sets the specified extended property.

(Inherited from Folder)
TryGetProperty(PropertyDefinitionBase, Object)

Tries to get the value of a specified property.

(Inherited from ServiceObject)
TryGetProperty<T>(PropertyDefinitionBase, T)

Tries to get the value of a specified property.

(Inherited from ServiceObject)
Update()

Applies the local changes that have been made to this folder.

(Inherited from Folder)

Applies to