| MediaWikiVersionTryParse(String, MediaWikiVersion) Method |
This is preliminary documentation and is subject to change.
Tries to parse a MediaWiki core version number from its string representation.
Namespace: WikiClientLibraryAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public static bool TryParse(
string version,
out MediaWikiVersion parsed
)
Public Shared Function TryParse (
version As String,
<OutAttribute> ByRef parsed As MediaWikiVersion
) As Boolean
Dim version As String
Dim parsed As MediaWikiVersion
Dim returnValue As Boolean
returnValue = MediaWikiVersion.TryParse(version,
parsed)
public:
static bool TryParse(
String^ version,
[OutAttribute] MediaWikiVersion% parsed
)
static member TryParse :
version : string *
parsed : MediaWikiVersion byref -> bool
Parameters
- version String
- The version to be parsed.
- parsed MediaWikiVersion
- A variable to receive the parsed version value.
Return Value
BooleanWhether the parsing is successful.
Remarks This overload does not allow version truncation.
See Also