IVsUIHierarchyWindow.SetWindowHelpTopic(String, UInt32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Définit la rubrique d'aide de la fenêtre hiérarchie.
public:
int SetWindowHelpTopic(System::String ^ lpszHelpFile, System::UInt32 dwContext);
public:
int SetWindowHelpTopic(Platform::String ^ lpszHelpFile, unsigned int dwContext);
int SetWindowHelpTopic(std::wstring const & lpszHelpFile, unsigned int dwContext);
public int SetWindowHelpTopic (string lpszHelpFile, uint dwContext);
abstract member SetWindowHelpTopic : string * uint32 -> int
Public Function SetWindowHelpTopic (lpszHelpFile As String, dwContext As UInteger) As Integer
Paramètres
- lpszHelpFile
- String
[in] Nom du fichier d'aide.
- dwContext
- UInt32
[in] Contexte de la rubrique d'aide.
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.
Remarques
Signature COM
À partir de vsshell. idl :
HRESULT IVsUIHierarchyWindow::SetWindowHelpTopic(
[in] LPCOLESTR lpszHelpFile,
[in] DWORD dwContext
);
Quand l’utilisateur appuie sur la touche F1 dans la fenêtre hiérarchie Active, cette méthode définit la rubrique d’aide correspondante pour cette fenêtre. La rubrique d’aide est spécifique à la fenêtre de hiérarchie dans son ensemble, et non aux éléments dans la fenêtre de hiérarchie.