Class CompositeFolder
Inherited Members
Namespace: DRIT.Mail.Pst.Folders
Assembly: DRIT.Mail.dll
Syntax
public class CompositeFolder : Folder
Methods
View SourceAddAppointment()
Declaration
public PstAppointment AddAppointment()
Returns
| Type | Description |
|---|---|
| PstAppointment |
AddContact()
Adds the contact.
Declaration
public PstContact AddContact()
Returns
| Type | Description |
|---|---|
| PstContact |
AddEmailMessage()
Adds the email message.
Declaration
public PstEmailMessage AddEmailMessage()
Returns
| Type | Description |
|---|---|
| PstEmailMessage |
AddMapiMessage(MapiMessage)
Adds the mapi message.
Declaration
public void AddMapiMessage(MapiMessage otherMapiMessage)
Parameters
| Type | Name | Description |
|---|---|---|
| MapiMessage | otherMapiMessage | The other mapi message used by the operation. |
AddMapiMessage(PstMapiMessage)
Adds a copy of the specified message to this folder and writes it to the PST.
Declaration
public void AddMapiMessage(PstMapiMessage otherMapiMessage)
Parameters
| Type | Name | Description |
|---|---|---|
| PstMapiMessage | otherMapiMessage | The message to copy into this folder. |
AddSubFolder(Class, string)
Adds a new sub folder with the specified class and display name to the current folder.
Declaration
public CompositeFolder AddSubFolder(Class contentClass, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| Class | contentClass | |
| string | name |
Returns
| Type | Description |
|---|---|
| CompositeFolder |
AddTask()
Adds the task.
Declaration
public PstTask AddTask()
Returns
| Type | Description |
|---|---|
| PstTask |
GetDepthFirstFolderEnumerator()
Gets the depth first folder enumerator.
Declaration
public IEnumerator<CompositeFolder> GetDepthFirstFolderEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<CompositeFolder> |
GetDepthFirstSubFolderEnumerator()
Gets the depth first sub folder enumerator.
Declaration
public IEnumerator<CompositeFolder> GetDepthFirstSubFolderEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<CompositeFolder> |
GetMapiAppointments()
Gets the mapi appointments.
Declaration
public IEnumerable<PstMapiAppointment> GetMapiAppointments()
Returns
| Type | Description |
|---|---|
| IEnumerable<PstMapiAppointment> |
GetMapiContacts()
Gets the mapi contacts.
Declaration
public IEnumerable<PstMapiContact> GetMapiContacts()
Returns
| Type | Description |
|---|---|
| IEnumerable<PstMapiContact> |
GetMapiEmailMessages()
Gets the mapi email messages.
Declaration
public IEnumerable<PstMapiEmailMessage> GetMapiEmailMessages()
Returns
| Type | Description |
|---|---|
| IEnumerable<PstMapiEmailMessage> |
GetMapiMessages()
Gets the mapi messages.
Declaration
public IEnumerable<PstMapiMessage> GetMapiMessages()
Returns
| Type | Description |
|---|---|
| IEnumerable<PstMapiMessage> |
GetMapiTasks()
Gets the mapi tasks.
Declaration
public IEnumerable<PstMapiTask> GetMapiTasks()
Returns
| Type | Description |
|---|---|
| IEnumerable<PstMapiTask> |
GetSubfolderByDisplayName(string)
Gets the subfolder by display name.
Declaration
public CompositeFolder GetSubfolderByDisplayName(string displayName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | displayName | The display name used by the operation. |
Returns
| Type | Description |
|---|---|
| CompositeFolder |
GetTasks()
Gets the tasks.
Declaration
public IEnumerable<PstTask> GetTasks()
Returns
| Type | Description |
|---|---|
| IEnumerable<PstTask> |
ToString()
Processes the to string data.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |
Overrides
View SourceWrite()
Declaration
public void Write()
Remarks
Fills up the content table row fields from the existing message property contexts.