FolderContainerGetAllRootT Method (Boolean, Boolean, Boolean)Ipswitch.Messaging.Framework
Retrieves an enumerable collection of a specific type of root folders that the user has access to.

Namespace: Ipswitch.Messaging.Framework
Assembly: Ipswitch.Messaging.Framework (in Ipswitch.Messaging.Framework.dll) Version: 1.0.0.0
Syntax

public IEnumerable<T> GetAllRoot<T>(
	bool includePersonalFolders = true,
	bool includePublicFolders = true,
	bool includeSharedFolders = true
)
where T : class, IFolder

Parameters

includePersonalFolders (Optional)
Type: SystemBoolean
Whether or not to include folders that are owned by the user.
includePublicFolders (Optional)
Type: SystemBoolean
Whether or not to include public folders that the user has access to.
includeSharedFolders (Optional)
Type: SystemBoolean
Whether or not to include shared folders that the user has access to.

Type Parameters

T
The type of IFolder to enumerate.

Return Value

Type: IEnumerableT
An IEnumerable object that can iterate over the indicated root folders of the given type.
See Also

Reference