Click or drag to resize

WikiPageStubFromPageTitles Method

This is preliminary documentation and is subject to change.

Construct a sequence of WikiPageStub from the given page titles.

Namespace: WikiClientLibrary.Pages
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.8.0+bba8b7a48c3412988f4331f41f4164c670d73663
Syntax
public static IAsyncEnumerable<WikiPageStub> FromPageTitles(
	WikiSite site,
	IEnumerable<string> titles,
	CancellationToken cancellationToken = default
)

Parameters

site  WikiSite
The site in which to query for the pages.
titles  IEnumerableString
The page IDs to query.
cancellationToken  CancellationToken  (Optional)

[Missing <param name="cancellationToken"/> documentation for "M:WikiClientLibrary.Pages.WikiPageStub.FromPageTitles(WikiClientLibrary.Sites.WikiSite,System.Collections.Generic.IEnumerable{System.String},System.Threading.CancellationToken)"]

Return Value

IAsyncEnumerableWikiPageStub
A sequence of WikiPageStub containing the page information.
Exceptions
ExceptionCondition
ArgumentNullExceptionEither site or titles is null.
Remarks
For how the missing pages are handled, see the "remarks" section of WikiPage.
See Also