| WikiSiteOpenSearchAsync(String) Method |
This is preliminary documentation and is subject to change.
Performs an opensearch and get results, often used for search box suggestions.
(MediaWiki 1.25 or OpenSearch extension)
Namespace: WikiClientLibrary.SitesAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public Task<IList<OpenSearchResultEntry>> OpenSearchAsync(
string searchExpression
)
Public Function OpenSearchAsync (
searchExpression As String
) As Task(Of IList(Of OpenSearchResultEntry))
Dim instance As WikiSite
Dim searchExpression As String
Dim returnValue As Task(Of IList(Of OpenSearchResultEntry))
returnValue = instance.OpenSearchAsync(searchExpression)
public:
Task<IList<OpenSearchResultEntry^>^>^ OpenSearchAsync(
String^ searchExpression
)
member OpenSearchAsync :
searchExpression : string -> Task<IList<OpenSearchResultEntry>>
Parameters
- searchExpression String
- The beginning part of the title to be searched.
Return Value
TaskIListOpenSearchResultEntrySearch result.
Remarks This overload will allow up to 20 results to be returned, and will not resolve redirects.
See Also