| description | Learn more about: helpcontext | |
|---|---|---|
| title | helpcontext (C++ COM Attribute) | |
| ms.date | 10/02/2018 | |
| f1_keywords |
|
|
| helpviewer_keywords |
|
|
| ms.assetid | 6fbb022d-a4b7-4989-a02f-7f18a9b0ad96 |
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.
| Attribute context | Value |
|---|---|
| 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