| RevisionFetchRevisionAsync Method |
This is preliminary documentation and is subject to change.
Fetch a revision by revid. This overload will also fetch the content of revision.
Namespace: WikiClientLibrary.PagesAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public static ValueTask<Revision> FetchRevisionAsync(
WikiSite site,
long revisionId
)
Public Shared Function FetchRevisionAsync (
site As WikiSite,
revisionId As Long
) As ValueTask(Of Revision)
Dim site As WikiSite
Dim revisionId As Long
Dim returnValue As ValueTask(Of Revision)
returnValue = Revision.FetchRevisionAsync(site,
revisionId)
public:
static ValueTask<Revision^> FetchRevisionAsync(
WikiSite^ site,
long long revisionId
)
static member FetchRevisionAsync :
site : WikiSite *
revisionId : int64 -> ValueTask<Revision>
Parameters
- site WikiSite
[Missing <param name="site"/> documentation for "M:WikiClientLibrary.Pages.Revision.FetchRevisionAsync(WikiClientLibrary.Sites.WikiSite,System.Int64)"]
- revisionId Int64
[Missing <param name="revisionId"/> documentation for "M:WikiClientLibrary.Pages.Revision.FetchRevisionAsync(WikiClientLibrary.Sites.WikiSite,System.Int64)"]
Return Value
ValueTaskRevisionExceptions Remarks The WikiPage of returned Revision will be a valid object.
However, its LastRevision and Content will corresponds
to the latest revision fetched in this invocation, and pages with the same title
share the same reference.
See Also