API Reference
Class
ReaderNestedContent
Lets a Reader handler delegate nested content to the same immutable handler set that selected it.
Inheritance
- Object
- ReaderNestedContent
Remarks
Archive, mailbox, and attachment adapters use this context to preserve selective package composition. The context is available while a handler is executing; callers outside a Reader operation have no registered nested handlers.
Methods
public static Boolean CanRead(String sourceName) #Returns:
BooleanReturns true when the active Reader has a stream handler registered for the source name.
Parameters
- sourceName System.String
public static IReadOnlyList<ReaderChunk> Read(Stream stream, String sourceName, ReaderOptions options = null, CancellationToken cancellationToken = null) #Returns:
IReadOnlyList<ReaderChunk>Reads nested content through the active Reader handler set.
Parameters
- stream System.IO.Stream
- sourceName System.String
- options OfficeIMO.Reader.ReaderOptions = null
- cancellationToken System.Threading.CancellationToken = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object