Class FolderHierarchy
Provides folder hierarchy functionality.
Inherited Members
Namespace: DRIT.Mail.Pst.Folders
Assembly: DRIT.Mail.dll
Syntax
public class FolderHierarchy : AbstractFolderHierarchy
Constructors
View SourceFolderHierarchy(AbstractPstFile)
Provides folder hierarchy functionality.
Declaration
public FolderHierarchy(AbstractPstFile file)
Parameters
| Type | Name | Description |
|---|---|---|
| AbstractPstFile | file |
Remarks
The UnicodePstFile is passed in order to be able to get a normal or an encoded stream.
Properties
View SourceRootCompositeFolder
Gets or sets the root composite folder value.
Declaration
public CompositeFolder RootCompositeFolder { get; }
Property Value
| Type | Description |
|---|---|
| CompositeFolder |
Top
Gets or sets the top value.
Declaration
public CompositeFolder Top { get; }
Property Value
| Type | Description |
|---|---|
| CompositeFolder |
Methods
View SourceFrom(FolderHierarchy)
Builds a folder hierarchy from another folder hierarchy.
Declaration
public void From(FolderHierarchy folderHierarchy)
Parameters
| Type | Name | Description |
|---|---|---|
| FolderHierarchy | folderHierarchy |
Remarks
IT is assumed that the minimal folder hierarchy exists in both, with the same folder names.
GetAllFoldersFlatDepthFirst()
Provides folder hierarchy functionality.
Declaration
public IEnumerable<CompositeFolder> GetAllFoldersFlatDepthFirst()
Returns
| Type | Description |
|---|---|
| IEnumerable<CompositeFolder> |
GetFolderByDisplayName(string)
Gets a folder by its display name from all folders.
Declaration
public CompositeFolder GetFolderByDisplayName(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name |
Returns
| Type | Description |
|---|---|
| CompositeFolder |
Write()
Writes values to the underlying storage.
Declaration
public void Write()