| WikiaSiteWikiaApiExtensionsFetchRelatedPagesAsync(WikiaSite, Int64, Int32) Method |
This is preliminary documentation and is subject to change.
Asynchronously fetches the specified page's related pages.
Namespace: WikiClientLibrary.Wikia.WikiaApiAssembly: WikiClientLibrary.Wikia (in WikiClientLibrary.Wikia.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public static Task<IList<RelatedPageItem>> FetchRelatedPagesAsync(
this WikiaSite site,
long pageId,
int maxCount
)
<ExtensionAttribute>
Public Shared Function FetchRelatedPagesAsync (
site As WikiaSite,
pageId As Long,
maxCount As Integer
) As Task(Of IList(Of RelatedPageItem))
Dim site As WikiaSite
Dim pageId As Long
Dim maxCount As Integer
Dim returnValue As Task(Of IList(Of RelatedPageItem))
returnValue = site.FetchRelatedPagesAsync(pageId,
maxCount)
public:
[ExtensionAttribute]
static Task<IList<RelatedPageItem^>^>^ FetchRelatedPagesAsync(
WikiaSite^ site,
long long pageId,
int maxCount
)
[<ExtensionAttribute>]
static member FetchRelatedPagesAsync :
site : WikiaSite *
pageId : int64 *
maxCount : int -> Task<IList<RelatedPageItem>>
Parameters
- site WikiaSite
- The site to issue the request.
- pageId Int64
- ID of the page to find the related ones.
- maxCount Int32
- Maximum count of the returned items.
Return Value
TaskIListRelatedPageItemUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
WikiaSite. 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