IVsHelpSystem::DisplayTopicFromURL Method (String^, UInt32)

 

Displays a topic using a URL and options.

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

int DisplayTopicFromURL(
	String^ pszURL,
	unsigned int Command
)

Parameters

pszURL
Type: System::String^

[in] Pointer to a string containing the URL.

Command
Type: System::UInt32

[in] Bit flags specifying Help options. Constructed from values in the VHS_COMMAND enumeration and the HTML Help commands

Return Value

Type: System::Int32

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

In order to use VHS_Localize with this method, you need to specify the URL in one of the following forms:

[C++]

filename.chm
filename.chm::/path\name.htm

For example, the following two URLs are valid:

[C++]

Vj98help.chm
Vj98help.chm::/html\vjmsgcompilererror.htm
Return to top
Show: