| WikiPageAddSectionAsync Method |
This is preliminary documentation and is subject to change.
Edits the main content of the current page, using specified new page 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> AddSectionAsync(
string sectionTitle,
WikiPageEditOptions options
)
Public Function AddSectionAsync (
sectionTitle As String,
options As WikiPageEditOptions
) As Task(Of Boolean)
Dim instance As WikiPage
Dim sectionTitle As String
Dim options As WikiPageEditOptions
Dim returnValue As Task(Of Boolean)
returnValue = instance.AddSectionAsync(sectionTitle,
options)
public:
Task<bool>^ AddSectionAsync(
String^ sectionTitle,
WikiPageEditOptions^ options
)
member AddSectionAsync :
sectionTitle : string *
options : WikiPageEditOptions -> Task<bool>
Parameters
- sectionTitle String
- title for the new section. (MediaWiki 1.19+)
- options WikiPageEditOptions
- page edit options, including new content.
Return Value
TaskBooleantrue if page content has been changed;
false otherwise.
Exceptions Remarks See Also