CfbStorage

Overview

CfbStorage is a CFB directory entry that acts as a container node, analogous to a folder in a file system. It inherits from CfbNode and adds the Children collection, which holds subordinate CfbNode entries (other storages or streams). Use AddStorage and AddStream to build a document tree before passing it to CfbWriter.

Constructors

SignatureDescription
CfbStorage(name: string)Creates a new CfbStorage with the specified parameters.

Methods

SignatureDescription
AddStorage(storage: CfbStorage)Adds a child CfbStorage to this storage node.
AddStream(stream: CfbStream)Adds a child CfbStream to this storage node.

Properties

NameTypeAccessDescription
ChildrenIList<CfbNode>ReadOrdered list of child CfbNode entries (storages and streams) directly under this storage.

See Also