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

NameTypeAccessDescription
NamestringRead/WriteGets or sets the storage’s name
RoleMsgStorageRoleRead/Write
Clsidbyte[]Read/WriteGets the class identifier byte array for the storage
StateBitsuintRead/WriteGets the state flag bits associated with the storage
CreationTimeulongRead/WriteGets the timestamp when the storage was created
ModifiedTimeulongRead/WriteGets the timestamp of the last modification to the storage
StreamsIList<MsgStream>ReadGets a list of MsgStream objects contained in the storage
StoragesIList<MsgStorage>ReadGets a list of child MsgStorage objects within the storage

Methods

SignatureDescription
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

See Also