Retrieves an enumerable collection of all folders of a specific type 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> GetAll<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: IEnumerableTAn IEnumerable object that can iterate over the indicated folders of the given type.
See Also