| SiteInfoMakeArticleUrl(String, String) Method |
This is preliminary documentation and is subject to change.
Makes the full URL to the page of specified title.
Namespace: WikiClientLibrary.SitesAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public string MakeArticleUrl(
string title,
string defaultProtocol
)
Public Function MakeArticleUrl (
title As String,
defaultProtocol As String
) As String
Dim instance As SiteInfo
Dim title As String
Dim defaultProtocol As String
Dim returnValue As String
returnValue = instance.MakeArticleUrl(title,
defaultProtocol)
public:
String^ MakeArticleUrl(
String^ title,
String^ defaultProtocol
)
member MakeArticleUrl :
title : string *
defaultProtocol : string -> string
Parameters
- title String
- The title of the article.
- defaultProtocol String
-
For wiki sites whose ServerUrl is protocol-relative URL (e.g. //en.wikipedia.org/),
specifies the default protocol to use. (e.g. https)
Return Value
StringThe full URL of the article.
Exceptions Remarks
For wiki sites with specified-protocol
ServerUrl, such as Wikia (which uses http),
this overload respects the server-chosen protocol.
See Also