GetContentStringAsync(IDocument) Method
Gets the content associated with this document as a string. This will result in reading the entire content stream. It's preferred to read directly as a stream using GetContentStream(IDocument) if possible.
Namespace
Statiq.Common
Containing Type
IDocumentExtensions

Syntax

public static Task<string> GetContentStringAsync(this IDocument document)

Parameters

Name Type Description
document IDocument The document.

Return Value

Type Description
Task<string>