| SiteInfoVersion Property |
This is preliminary documentation and is subject to change.
Gets MediaWiki API version.
Namespace: WikiClientLibrary.SitesAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax [JsonIgnoreAttribute]
public MediaWikiVersion Version { get; }
<JsonIgnoreAttribute>
Public ReadOnly Property Version As MediaWikiVersion
Get
Dim instance As SiteInfo
Dim value As MediaWikiVersion
value = instance.Version
public:
[JsonIgnoreAttribute]
property MediaWikiVersion Version {
MediaWikiVersion get ();
}
[<JsonIgnoreAttribute>]
member Version : MediaWikiVersion with get
Property Value
MediaWikiVersionRemarks This version is parsed from the value of Generator.
Suffix truncation is allowed when parsing the version.
If WCL failed to extract version part from Generator, this property will be Zero.
See Parse(String, Boolean) for more information about version suffix truncation.
See Also