Table of Contents

Method TryOpenNativeContent

Namespace
DocWright.Ole
Assembly
DocWright.Ole.dll

TryOpenNativeContent(out Stream?)

Opens the payload's native content when it has a single identifiable one.

public bool TryOpenNativeContent(out Stream? content)

Parameters

content Stream

Receives a stream over the native bytes, or null. The caller owns it and must dispose it before disposing this payload.

Returns

bool

true when native content was found. false for Unrecognized, where the individual streams are still reachable through OpenStream(string).