IHelp.ShowHelp Method
Displays a Help topic.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'宣言
Function ShowHelp ( _
szHelp As String, _
fuCommand As UInteger, _
dwHelpContext As UInteger _
) As Integer
'使用
Dim instance As IHelp
Dim szHelp As String
Dim fuCommand As UInteger
Dim dwHelpContext As UInteger
Dim returnValue As Integer
returnValue = instance.ShowHelp(szHelp, _
fuCommand, dwHelpContext)
int ShowHelp(
string szHelp,
uint fuCommand,
uint dwHelpContext
)
int ShowHelp(
[InAttribute] String^ szHelp,
[InAttribute] unsigned int fuCommand,
[InAttribute] unsigned int dwHelpContext
)
function ShowHelp(
szHelp : String,
fuCommand : uint,
dwHelpContext : uint
) : int
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.
Remarks
COM Signature
From objtext.idl:
HRESULT IHelp::ShowHelp(
[in] LPOLESTR szHelp,
[in] UINT fuCommand,
[in] DWORD dwHelpContext
);
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.