IVsHelpSystem::GetCurrentURL Method (String^)

 

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

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

int GetCurrentURL(
	[OutAttribute] String^% ppszURL
)

Parameters

ppszURL
Type: System::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.

Return Value

Type: System::Int32

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

Return to top
Show: