Gets the text content of each query result and sets it in the metadata of
the corresponding result document(s) with the specified key.
- Namespace
- Statiq
.Core - Containing Type
- QueryHtml
Syntax
public QueryHtml GetTextContent(string metadataKey = "TextContent")
Parameters
Name | Type | Description |
---|---|---|
metadataKey | string | The metadata key in which to place the text content. |
Return Value
Type | Description |
---|---|
QueryHtml | The current module instance. |