| WikiLinkTryParse(WikiSite, String) Method |
This is preliminary documentation and is subject to change.
Tries to parse a new instance using specified Wikilink expression.
Namespace: WikiClientLibraryAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public static WikiLink? TryParse(
WikiSite site,
string text
)
Public Shared Function TryParse (
site As WikiSite,
text As String
) As WikiLink
Dim site As WikiSite
Dim text As String
Dim returnValue As WikiLink
returnValue = WikiLink.TryParse(site,
text)
public:
static WikiLink^ TryParse(
WikiSite^ site,
String^ text
)
static member TryParse :
site : WikiSite *
text : string -> WikiLink
Parameters
- site WikiSite
- Site instance.
- text String
- Wikilink expression, without square brackets.
Return Value
WikiLinkA
WikiLink instance, or
null if the parsing failed.
Exceptions See Also