MsgStorage

Overview

MsgStorage is a class in Aspose.Email for NET.

MsgStorage.MsgStorage creates a storage object with the specified name and role.

Properties

NameTypeAccessDescription
NamestringRead/WriteGets or sets the storage’s name
RoleMsgStorageRoleRead/WriteGets or sets the storage’s role (type of storage)
Clsidbyte[]Read/WriteGets the CLSID identifier bytes for the storage
StateBitsuintRead/WriteGets the state bits flags of the storage
CreationTimeulongRead/WriteGets the creation timestamp of the storage
ModifiedTimeulongRead/WriteGets the last modified timestamp of the storage
StreamsIList<MsgStream>ReadGets the list of MsgStream objects contained in the storage
StoragesIList<MsgStorage>ReadGets the list of child MsgStorage objects

Methods

SignatureDescription
MsgStorage(name: string, role: MsgStorageRole)Creates a storage object with the specified name and role
AddStream(stream: MsgStream)Adds a MsgStream to this storage’s stream collection
AddStorage(storage: MsgStorage)Adds a child MsgStorage to this storage’s storage collection
FindStream(name: string)Returns the MsgStream with the given name, or null if not found
FindStorage(name: string)