Share via


helpstringcontext

Spécifie l’ID d’une rubrique d’aide dans un fichier .hlp ou .chm.

Syntaxe

[ helpstringcontext(contextID) ]

Paramètres

contextID
Identificateur de contexte d’aide 32 bits dans le fichier d’aide.

Notes

L’attribut helpstringcontext C++ a les mêmes fonctionnalités que l’attribut ODL helpstringcontext .

Exemple

// cpp_attr_ref_helpstringcontext.cpp
// compile with: /LD
#include <unknwn.h>
[module(name="MyLib")];

[   object, helpstring("help string"), helpstringcontext(1), uuid="11111111-1111-1111-1111-111111111111"
]
__interface IMyI
{
   HRESULT xx();
};

Spécifications

Contexte d’attribut Value
S’applique à class, interface, méthode d’interface
Renouvelable Non
Attributs requis Aucun
Attributs non valides Aucun

Pour plus d'informations, consultez Contextes d'attribut.

Voir aussi

Attributs IDL
Attributs d’interface
Attributs de classe
Attributs de méthode
module