| IWikiFamilyGetSiteAsync Method |
This is preliminary documentation and is subject to change.
Asynchronously gets a
WikiSite instance from the specified family name.
Namespace: WikiClientLibrary.SitesAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax Task<WikiSite?> GetSiteAsync(
string prefix
)
Function GetSiteAsync (
prefix As String
) As Task(Of WikiSite)
Dim instance As IWikiFamily
Dim prefix As String
Dim returnValue As Task(Of WikiSite)
returnValue = instance.GetSiteAsync(prefix)
Task<WikiSite^>^ GetSiteAsync(
String^ prefix
)
abstract GetSiteAsync :
prefix : string -> Task<WikiSite>
Parameters
- prefix String
- The member name in the family. Usually this is the interwiki prefix.
Return Value
TaskWikiSiteA site instance, or
null if no site with the specified family name found..
Exceptions Remarks The implementation should be thread-safe, if multiple threads are to use this instance with other classes.
See Also