Table of Contents

Method TryOpenStream

Namespace
DocWright.Formats.Doc.Cfb
Assembly
DocWright.Formats.Doc.dll

TryOpenStream(string, out Stream?)

Opens a named stream when it exists.

public bool TryOpenStream(string streamName, out Stream? stream)

Parameters

streamName string

The stream name.

stream Stream

Receives the stream, or null when it does not exist.

Returns

bool

true when the stream was opened.