| title | helpcontext | Microsoft Docs | |
|---|---|---|
| ms.custom | ||
| ms.date | 11/04/2016 | |
| ms.reviewer | ||
| ms.suite | ||
| ms.technology |
|
|
| ms.tgt_pltfrm | ||
| ms.topic | language-reference | |
| f1_keywords |
|
|
| dev_langs |
|
|
| helpviewer_keywords |
|
|
| ms.assetid | 6fbb022d-a4b7-4989-a02f-7f18a9b0ad96 | |
| caps.latest.revision | 10 | |
| author | mikeblome | |
| ms.author | mblome | |
| manager | ghogen |
Specifies a context ID that lets the user view information about this element in the Help file.
[ helpcontext(
id
) ]
id
The context ID of the help topic. See HTML Help: Context-Sensitive Help for Your Programs for more information on context IDs.
The helpcontext C++ attribute has the same functionality as the helpcontext MIDL attribute.
See the example for defaultvalue for an example of how to use helpcontext.
| Applies to | interface, typedef, class, method, property |
| Repeatable | No |
| Required attributes | None |
| Invalid attributes | None |
For more information, see Attribute Contexts.
IDL Attributes
Interface Attributes
Class Attributes
Method Attributes
Typedef, Enum, Union, and Struct Attributes
helpfile
helpstring