Share via


IVsHelpSystem.GetCurrentURL(String) Method

Definition

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.

Applies to