Click or drag to resize

WikiPageStubFromPageIds Method

This is preliminary documentation and is subject to change.

Construct a sequence of WikiPageStub from the given page IDs.

Namespace: WikiClientLibrary.Pages
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public static IAsyncEnumerable<WikiPageStub> FromPageIds(
	WikiSite site,
	IEnumerable<long> ids,
	CancellationToken cancellationToken = default
)

Parameters

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

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

Return Value

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