Click or drag to resize

WikiPageContent Property

This is preliminary documentation and is subject to change.

Gets the content of the page.

Namespace: WikiClientLibrary.Pages
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public string? Content { get; }

Property Value

String
Remarks

This is equivalent to LastRevision?.. To fetch page content, invoke either with FetchContent flag or with set to true.

To make edit to a page, use EditAsync(WikiPageEditOptions) or EditSectionAsync(String, WikiPageEditOptions). As a side effect, these functions will reset into null. You will need to refresh once more if you want to explicitly re-retrieve the content from MediaWiki server.

See Also