IHelp.ShowHelp(String, UInt32, UInt32) Méthode

Définition

Affiche une rubrique d'aide.

public:
 int ShowHelp(System::String ^ szHelp, System::UInt32 fuCommand, System::UInt32 dwHelpContext);
public:
 int ShowHelp(Platform::String ^ szHelp, unsigned int fuCommand, unsigned int dwHelpContext);
int ShowHelp(std::wstring const & szHelp, unsigned int fuCommand, unsigned int dwHelpContext);
public int ShowHelp (string szHelp, uint fuCommand, uint dwHelpContext);
abstract member ShowHelp : string * uint32 * uint32 -> int
Public Function ShowHelp (szHelp As String, fuCommand As UInteger, dwHelpContext As UInteger) As Integer

Paramètres

szHelp
String

[in] Chaîne contenant le nom et le chemin d'accès du fichier d'aide.

fuCommand
UInt32

[in] ID de contexte de la rubrique à afficher.

dwHelpContext
UInt32

[in] Indicateurs de bits indiquant le mode d'affichage de la rubrique. Pour plus d'informations, consultez les constantes d'aide, telles que HELP_CONTEXTPOPUP, dans le fichier winuser.h.

Retours

Int32

Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.

Remarques

Signature COM

À partir de ObjText. idl :

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

S’applique à