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.3+0a73c45f0c78941900e328c6c6b819597b665e00
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