IHelp::ShowHelp Method (String^, UInt32, UInt32)

 

Displays a Help topic.

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

int ShowHelp(
	String^ szHelp,
	unsigned int fuCommand,
	unsigned int dwHelpContext
)

Parameters

szHelp
Type: System::String^

[in] String containing the name and path of the Help file.

fuCommand
Type: System::UInt32

[in] The context ID of the topic to display.

dwHelpContext
Type: System::UInt32

[in] Bit flags indicating how to display the topic. For more information, see the Help constants, such as HELP_CONTEXTPOPUP, in the winuser.h file.

Return Value

Type: System::Int32

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

From objtext.idl:

HRESULT IHelp::ShowHelp(
   [in] LPOLESTR szHelp, 
   [in] UINT fuCommand, 
   [in] DWORD dwHelpContext
);
Return to top
Show: