IVsHelpSystem.GetCurrentURL(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the URL of the topic currently displayed in the topic window.
public:
int GetCurrentURL([Runtime::InteropServices::Out] System::String ^ % ppszURL);
int GetCurrentURL([Runtime::InteropServices::Out] std::wstring const & & ppszURL);
public int GetCurrentURL (out string ppszURL);
abstract member GetCurrentURL : string -> int
Public Function GetCurrentURL (ByRef ppszURL As String) As Integer
Parameters
- ppszURL
- String
[out] Pointer to a string containing the URL. The method allocates the string using SysAllocString. The caller is responsible for freeing the string with SysFreeString.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.