This documentation is archived and is not being maintained.

IVsHelpSystem.GetCurrentURL Method

Retrieves the URL of the topic currently displayed in the topic window.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in

int GetCurrentURL (
	out string ppszURL
int GetCurrentURL (
	/** @attribute OutAttribute() */ /** @ref */ String ppszURL
JScript does not support passing value-type arguments by reference.



[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.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.