ContainerItem

ContainerItem class

Represents a container item like Zip archive entity, email attachment, PDF Portfolio item and so on.

public sealed class ContainerItem

Properties

Name Description
Directory { get; } Gets the directory of the item.
FilePath { get; } Gets the full path of the item.
Metadata { get; } Gets the collection of metadata items.
Name { get; } Gets the name of the item.
Size { get; } Gets the size of the item.

Methods

Name Description
DetectFileType(FileTypeDetectionMode) Detects a file type of the container item.
GetMetadataValue(string) Gets the metadata value.
OpenParser() Creates the Parser object for the item content.
OpenParser(LoadOptions) Creates the Parser object for the item content with LoadOptions.
OpenParser(LoadOptions, ParserSettings) Creates the Parser object for the item content with LoadOptions and ParserSettings.
OpenStream() Opens the stream of the item content.

Remarks

An instance of ContainerItem class is used as return value of GetContainer method. See the usage examples there.

See Also