MsgStorage
Overview
MsgStorage is a class in Aspose.Email FOSS for .NET.
MsgStorage.MsgStorage creates a storage with the specified name and role.
Description
MsgStorage is a class in the Aspose.Email FOSS library for .NET that exposes 4 methods and 8 properties for programmatic use.
The class also provides the Streams property (gets a list of msgstream objects contained in the storage), the Storages property (gets a list of child msgstorage objects within the storage).
Instances are created through a single constructor that initializes the object with default values.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Name | string | Read/Write | Gets or sets the storage’s name |
Role | MsgStorageRole | Read/Write | |
Clsid | byte[] | Read/Write | Gets the class identifier byte array for the storage |
StateBits | uint | Read/Write | Gets the state flag bits associated with the storage |
CreationTime | ulong | Read/Write | Gets the timestamp when the storage was created |
ModifiedTime | ulong | Read/Write | Gets the timestamp of the last modification to the storage |
Streams | IList<MsgStream> | Read | Gets a list of MsgStream objects contained in the storage |
Storages | IList<MsgStorage> | Read | Gets a list of child MsgStorage objects within the storage |
Methods
| Signature | Description |
|---|---|
MsgStorage(name: string, role: MsgStorageRole) | Creates a storage with the specified name and role |
AddStream(stream: MsgStream) | Adds the given MsgStream to this storage |
AddStorage(storage: MsgStorage) | Adds a child MsgStorage to this storage |
FindStream(name: string) | Returns the MsgStream with the specified name, or null if not found |
FindStorage(name: string) | Returns the child MsgStorage with the given name, or null if absent |