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.8.0+bba8b7a48c3412988f4331f41f4164c670d73663
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