| WikiSiteExtensionsParsePageAsync(WikiSite, String, ParsingOptions) Method |
This is preliminary documentation and is subject to change.
Parsing the specific page, gets HTML and more information. (MediaWiki 1.12)
Namespace: WikiClientLibrary.Pages.ParsingAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public static Task<ParsedContentInfo> ParsePageAsync(
this WikiSite site,
string title,
ParsingOptions options
)
<ExtensionAttribute>
Public Shared Function ParsePageAsync (
site As WikiSite,
title As String,
options As ParsingOptions
) As Task(Of ParsedContentInfo)
Dim site As WikiSite
Dim title As String
Dim options As ParsingOptions
Dim returnValue As Task(Of ParsedContentInfo)
returnValue = site.ParsePageAsync(title,
options)
public:
[ExtensionAttribute]
static Task<ParsedContentInfo^>^ ParsePageAsync(
WikiSite^ site,
String^ title,
ParsingOptions options
)
[<ExtensionAttribute>]
static member ParsePageAsync :
site : WikiSite *
title : string *
options : ParsingOptions -> Task<ParsedContentInfo>
Parameters
- site WikiSite
- The MediaWiki site to execute the request on.
- title String
- Title of the page to be parsed.
- options ParsingOptions
- Options for parsing.
Return Value
TaskParsedContentInfoUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
WikiSite. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Exceptions See Also