| WikiPageEditSectionAsync Method |
This is preliminary documentation and is subject to change.
Edits the specified section of the current page, using specified new section content and other options.
(MediaWiki 1.16)
Namespace: WikiClientLibrary.PagesAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public Task<bool> EditSectionAsync(
string sectionId,
WikiPageEditOptions options
)
Public Function EditSectionAsync (
sectionId As String,
options As WikiPageEditOptions
) As Task(Of Boolean)
Dim instance As WikiPage
Dim sectionId As String
Dim options As WikiPageEditOptions
Dim returnValue As Task(Of Boolean)
returnValue = instance.EditSectionAsync(sectionId,
options)
public:
Task<bool>^ EditSectionAsync(
String^ sectionId,
WikiPageEditOptions^ options
)
member EditSectionAsync :
sectionId : string *
options : WikiPageEditOptions -> Task<bool>
Parameters
- sectionId String
- section identifier. "0" for the top section. Often a positive integer, but can also be non-numeric when the section is inside templates ("T-1").
- options WikiPageEditOptions
- page edit options, including new content.
Return Value
TaskBooleantrue if page content has been changed;
false otherwise.
Exceptions Remarks See Also